Creates a new access token by authorized information.
Creates a new access token by authorized information.
This value is already authorized by system.
Access token returns to client.
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 access token.
Find authorized information by access token.
This value is AccessToken.
Return authorized information if the parameter is available.
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 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 user by clientId and clientSecret.
Find user 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.
Returns stored access token by authorized information.
Returns stored access token by authorized information.
If want to create new access token then have to return None
This value is already authorized by system.
Access token returns to client.
Creates a new access token by refreshToken.
Creates a new access token by refreshToken.
This value is already authorized by system.
Access token returns to client.
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.
Check expiration.
Check expiration.
accessToken
true if accessToken expired
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]