Interface AccessTokenGrant

All Known Implementing Classes:
ClientCredentialsGrant, JwtBearerGrant

public interface AccessTokenGrant

One way of obtaining an access token: a grant against a token endpoint.

Every call is a new exchange. Applications do not call a grant directly; they wrap it in an AccessTokenProvider, which caches the token, refreshes it before it expires and shares one refresh among concurrent callers.

  • Method Summary

    Modifier and Type
    Method
    Description
    Exchanges the credentials for a new token.