abakt-test
Toggle table of contents
1.0.0
jvm
Platform filter
jvm
Switch theme
Search in API
abakt-test
abakt-test
/
abakt.test
/
AuthPolicyPrincipalTest
Auth
Policy
Principal
Test
class
AuthPolicyPrincipalTest
<
Principal
:
Any
>
(
policy
:
AuthorizationPolicy
<
Principal
>
,
principal
:
Principal
)
Members
Constructors
Auth
Policy
Principal
Test
Link copied to clipboard
constructor
(
policy
:
AuthorizationPolicy
<
Principal
>
,
principal
:
Principal
)
Functions
should
Be
Allowed
On
Link copied to clipboard
infix
fun
<
Resource
:
Any
>
ResourceAction
<
Resource
>
.
shouldBeAllowedOn
(
resource
:
Resource
)
should
Be
Denied
On
Link copied to clipboard
infix
fun
<
Resource
:
Any
>
ResourceAction
<
Resource
>
.
shouldBeDeniedOn
(
resource
:
Resource
)
should
Not
Be
Allowed
On
Link copied to clipboard
infix
fun
<
Resource
:
Any
>
ResourceAction
<
Resource
>
.
shouldNotBeAllowedOn
(
resource
:
Resource
)