public class OAuth2LifeCycle extends Object implements MethodAnnotationLifeCycle<OAuth2,Object>
Modifier and Type | Class and Description |
---|---|
static class |
OAuth2LifeCycle.TokenCache
缓存 Token 信息的对象.
|
Constructor and Description |
---|
OAuth2LifeCycle() |
Modifier and Type | Method and Description |
---|---|
boolean |
beforeExecute(ForestRequest request) |
void |
onMethodInitialized(ForestMethod method,
OAuth2 annotation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onError, onSuccess
addAttribute, afterExecute, getAttribute, getAttribute, getAttributeAsDouble, getAttributeAsFloat, getAttributeAsInteger, getAttributeAsString, getAttributes, onInvokeMethod, onLoadCookie, onProgress, onSaveCookie
public void onMethodInitialized(ForestMethod method, OAuth2 annotation)
onMethodInitialized
in interface MethodAnnotationLifeCycle<OAuth2,Object>
public boolean beforeExecute(ForestRequest request)
beforeExecute
in interface Interceptor<Object>
Copyright © 2020. All rights reserved.