org.wso2.carbon.appfactory.gitblit.oauth.oauth2
Class OAuthAuthenticator

java.lang.Object
  extended by org.wso2.carbon.appfactory.gitblit.oauth.oauth2.OAuthAuthenticator

public class OAuthAuthenticator
extends Object


Field Summary
protected static String ACCESS_TOKEN
           
protected static String AUTH_HEADER_NAME
           
protected static String BEARER
           
protected static String BEARER_TOKEN_TYPE
           
 
Constructor Summary
OAuthAuthenticator(com.gitblit.IStoredSettings settings)
           
 
Method Summary
 com.gitblit.models.UserModel authenticate(String accessTokenStr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTH_HEADER_NAME

protected static final String AUTH_HEADER_NAME
See Also:
Constant Field Values

BEARER

protected static final String BEARER
See Also:
Constant Field Values

ACCESS_TOKEN

protected static final String ACCESS_TOKEN
See Also:
Constant Field Values

BEARER_TOKEN_TYPE

protected static final String BEARER_TOKEN_TYPE
See Also:
Constant Field Values
Constructor Detail

OAuthAuthenticator

public OAuthAuthenticator(com.gitblit.IStoredSettings settings)
Method Detail

authenticate

public com.gitblit.models.UserModel authenticate(String accessTokenStr)


Copyright © 2015 WSO2 Inc. All rights reserved.