Example usage for org.springframework.security.oauth.provider.token OAuthTokenLifecycleRegistry interface-usage

List of usage examples for org.springframework.security.oauth.provider.token OAuthTokenLifecycleRegistry interface-usage

Introduction

In this page you can find the example usage for org.springframework.security.oauth.provider.token OAuthTokenLifecycleRegistry interface-usage.

Usage

From source file org.springframework.security.oauth.provider.token.RandomValueProviderTokenServices.java

/**
 * Base implementation for token services that uses random values to generate tokens. Only the persistence mechanism
 * is left unimplemented.<br/><br/>
 *
 * This base implementation creates tokens that have an expiration.  For request tokens, the default validity is
 * 10 minutes.  For access tokens, the default validity is 12 hours.<br/><br/>