public class AuthorizationCodeGrant extends AbstractGrant
| Constructor and Description |
|---|
AuthorizationCodeGrant(AuthorizationCodeRepository authorizationCodeRepository,
AccessTokenRepository accessTokenRepository,
RefreshTokenRepository refreshTokenRepository) |
| Modifier and Type | Method and Description |
|---|---|
TokenDto |
issueToken(AuthorizationRequestDto authorizationRequestDto)
authorization_code
grant_type, client_id, redirect_uri, code, client_secret
refresh_token
grant_type, client_id, refresh_token, client_secret
|
public AuthorizationCodeGrant(AuthorizationCodeRepository authorizationCodeRepository, AccessTokenRepository accessTokenRepository, RefreshTokenRepository refreshTokenRepository)
public TokenDto issueToken(AuthorizationRequestDto authorizationRequestDto) throws java.lang.Exception
issueToken in class AbstractGrantauthorizationRequestDto - request Datajava.lang.Exception - throw exception