org.springframework.security.oauth2.provider.implicit
Class InMemoryImplicitGrantService
java.lang.Object
org.springframework.security.oauth2.provider.implicit.InMemoryImplicitGrantService
- All Implemented Interfaces:
- ImplicitGrantService
public class InMemoryImplicitGrantService
- extends Object
- implements ImplicitGrantService
In-memory implementation of the ImplicitGrantService.
- Author:
- Amanda Anganes
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
requestStore
protected final ConcurrentHashMap<TokenRequest,OAuth2Request> requestStore
InMemoryImplicitGrantService
public InMemoryImplicitGrantService()
store
public void store(OAuth2Request originalRequest,
TokenRequest tokenRequest)
- Description copied from interface:
ImplicitGrantService
- Save an association between an OAuth2Request and a TokenRequest.
- Specified by:
store in interface ImplicitGrantService
remove
public OAuth2Request remove(TokenRequest tokenRequest)
- Description copied from interface:
ImplicitGrantService
- Look up and return the OAuth2Request associated with the given TokenRequest.
- Specified by:
remove in interface ImplicitGrantService
- Returns:
Copyright © 2013. All rights reserved.