public class AuthRequest extends PostRequest<AuthData>
Constructor and Description |
---|
AuthRequest(SberApiClient sberApiClient,
String redirectUri,
String code,
String nonce) |
AuthRequest(SberApiClient sberApiClient,
String redirectUri,
String code,
String nonce,
String codeVerifier) |
Modifier and Type | Method and Description |
---|---|
void |
build() |
protected String |
getEndpoint() |
protected Class<AuthData> |
getResponseType() |
protected void |
postCheck(AuthData response) |
getMethod, preExecute
public AuthRequest(SberApiClient sberApiClient, String redirectUri, String code, String nonce)
public AuthRequest(SberApiClient sberApiClient, String redirectUri, String code, String nonce, String codeVerifier)
protected Class<AuthData> getResponseType()
getResponseType
in class AbstractRequest<AuthData>
protected String getEndpoint()
getEndpoint
in class AbstractRequest<AuthData>
public void build()
build
in class AbstractRequest<AuthData>
protected void postCheck(AuthData response) throws ApiException
postCheck
in class AbstractRequest<AuthData>
ApiException
Copyright © 2020. All rights reserved.