public interface IuAuthorizedAudience
Provides audience configuration.
-
Method Summary
Modifier and TypeMethodDescriptionGets the principal identity of the audience endpoint, and optionally additional trusted token issuer keys.getNonce()Gets the one-time number configuration for this audience.Gets the token issuer's root resource URI.Gets the external root resource URI for this audience.default DurationGet the max token lifetime
-
Method Details
-
getTokenTtl
Get the max token lifetime- Returns:
Duration
-
getResourceUri
URI getResourceUri()Gets the external root resource URI for this audience.- Returns:
- resource URI
-
getOidcMetadataUri
URI getOidcMetadataUri()Gets the token issuer's root resource URI.- Returns:
- Issuer root resource URI
-
getNonce
IuOneTimeNumberConfig getNonce()Gets the one-time number configuration for this audience.- Returns:
IuOneTimeNumberConfig
-
getIdentity
Iterable<IuPrivateKeyPrincipal> getIdentity()Gets the principal identity of the audience endpoint, and optionally additional trusted token issuer keys.- Returns:
IuPrivateKeyPrincipalof the audience entity, optionally followed by additional trusted token issuer keys
-