Improve this doc View source

StormpathOAuthToken
service in module stormpath.oauth

Description

A service for managing OAuth tokens. It offers a simple interface for storing and reading tokens into a generic storage (backed by TokenStoreManager), as well as utility methods for getting specific components of the token - the access token, refresh token, token type, as well as the Authorization header constructed from the token.

It uses the token store type set in the provider, unless overrided via StormpathOAuthToken.setTokenStoreType.

Dependencies

Methods