class RefreshTokenAuthenticator : Authenticator
401 에러 발생 시 진입하는 곳 토큰을 갱신하고 갱신된 토큰을 추가한 request를 리턴하면 이를 기반으로 재시도 함
<init> |
401 에러 발생 시 진입하는 곳 토큰을 갱신하고 갱신된 토큰을 추가한 request를 리턴하면 이를 기반으로 재시도 함 RefreshTokenAuthenticator(tokenRepo: AccessTokenRepo = AccessTokenRepo.instance, authApiClient: AuthApiClient = AuthApiClient.instance) |
authenticate |
fun authenticate(route: Route?, response: Response): Request? |