public interface FederationClient
Defines a basic interface for a federation endpoint that provides a security token for authentication.
Modifier and Type | Method and Description |
---|---|
String |
getSecurityToken()
Gets a security token from the federation endpoint.
|
String |
getStringClaim(String key)
Get a claim embedded in the security token.
|
String |
refreshAndGetSecurityToken()
Gets a security token from the federation endpoint.
|
String getSecurityToken()
Gets a security token from the federation endpoint. May use a cached token if it judged to still be valid.
String refreshAndGetSecurityToken()
Gets a security token from the federation endpoint. This will always retreive a new token from the federation endpoint and does not use a cached token.
Copyright © 2016–2024. All rights reserved.