Class SimpleTokenProvider

java.lang.Object
com.auth0.client.mgmt.SimpleTokenProvider
All Implemented Interfaces:
TokenProvider

public class SimpleTokenProvider extends Object implements TokenProvider
An implementation of TokenProvider that simply returns the token it is configured with. Tokens will not be renewed; consumers are responsible for renewing the token when needed and then calling ManagementAPI.setApiToken(String) with the new token.