Package com.oracle.bmc.auth.internal
Interface FederationClient
- 
- All Known Implementing Classes:
 AbstractFederationClient,FileBasedResourcePrincipalFederationClient,FixedContentResourcePrincipalFederationClient,ResourcePrincipalsFederationClient,ResourcePrincipalsV3FederationClient,ResourcePrincipalV2FederationClient,X509FederationClient
public interface FederationClientDefines a basic interface for a federation endpoint that provides a security token for authentication. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetSecurityToken()Gets a security token from the federation endpoint.StringgetStringClaim(String key)Get a claim embedded in the security token.StringrefreshAndGetSecurityToken()Gets a security token from the federation endpoint. 
 - 
 
- 
- 
Method Detail
- 
getSecurityToken
String getSecurityToken()
Gets a security token from the federation endpoint.May use a cached token if it judged to still be valid.
- Returns:
 - A security token that can be used to authenticate requests.
 
 
- 
refreshAndGetSecurityToken
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.
- Returns:
 - A security token that can be used to authenticate requests.
 
 
 - 
 
 -