Class STSTokensImpl
java.lang.Object
com.eqixiac.equinix.sts.client.implementation.STSTokensImpl
- All Implemented Interfaces:
STSTokens
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(TokenRequest request) Exchanges an ID token for an STS access token (RFC 8693 token exchange).Lists the access policies granted to the subject identified by the given token within a project (first page or the page identified by the request'spageToken).
-
Constructor Details
-
STSTokensImpl
public STSTokensImpl()
-
-
Method Details
-
generate
Description copied from interface:STSTokensExchanges an ID token for an STS access token (RFC 8693 token exchange). -
listAccessPoliciesGranted
Description copied from interface:STSTokensLists the access policies granted to the subject identified by the given token within a project (first page or the page identified by the request'spageToken).- Specified by:
listAccessPoliciesGrantedin interfaceSTSTokens- Parameters:
request- the granted-policies request (project, subject token and pagination)- Returns:
- a page of granted access policy ids
-