Create or update access token by authorized information.
Create or update access token by authorized information.
This value is created by createOrUpdateAuthInfo method.
Access token return to client.
Create or update authorized information by userId, clientId and scope.
Create or update authorized information by userId, clientId and scope.
Returning None when create access token then response will be invalid grant. This method also is called at the time of refresh token, it can safely return None.
DataHandler got this value by authentication.
Client send this value which is registered by application.
Client request scope value. If client doesn't request then it will be None.
created or updated authorize information. Return None if you want to strictly verify the scope.
Find AccessToken object by access token code.
Find AccessToken object by access token code.
Client send access token which is created by system.
Return access token that matched the token.
Find authorized information by authorization code.
Find authorized information by authorization code.
If you don't support Authorization Code Grant then doesn't need implementing.
Client send authorization code which is registered by system.
Return authorized information that matched the code.
Find authorized information by the primary key.
Find authorized information by the primary key. The value is associated with AccessToken.
This value is passed from AccessToken.
Return authorized information if the parameter is available.
Find authorized information by refresh token.
Find authorized information by refresh token.
If you don't support Refresh Token Grant then doesn't need implementing.
Client send refresh token which is created by system.
Return authorized information that matched the refresh token.
Find userId by clientId and clientSecret.
Find userId by clientId and clientSecret.
If you don't support Client Credentials Grant then doesn't need implementing.
Client send this value which is registered by application.
Client send this value which is registered by application.
Return user that matched both values.
Find userId with username and password these are used on your system.
Find userId with username and password these are used on your system. If you don't support Resource Owner Password Credentials Grant then doesn't need implementing.
Client send this value which is used on your system.
Client send this value which is used on your system.
Including UserId to Option if could find the user, None if couldn't find.
Verify proper client with parameters for issue an access token.
Verify proper client with parameters for issue an access token.
Client send this value which is registered by application.
Client send this value which is registered by application.
Client send this value which is registered by application.
true if request is a regular client, false if request is a illegal client.
Provide accessing to data storage for using OAuth 2.0.
[Authorization phases]
Authorization Code Grant
Refresh Token Grant
Resource Owner Password Credentials Grant
Client Credentials Grant
[Access to Protected Resource phase]