public class JWTAuth extends Authentication
Constructor and Description |
---|
JWTAuth(Configuration config) |
Modifier and Type | Method and Description |
---|---|
void |
handleBadResponse(com.squareup.okhttp.Response response)
Handle error response.
|
void |
updateHeaderParams(Map<String,String> headerParams)
Apply authentication settings to header params.
|
public JWTAuth(Configuration config)
public void updateHeaderParams(Map<String,String> headerParams) throws ApiException
Authentication
updateHeaderParams
in class Authentication
headerParams
- Map of header parametersApiException
public void handleBadResponse(com.squareup.okhttp.Response response) throws ApiException, IOException
Authentication
handleBadResponse
in class Authentication
response
- ResponseApiException
IOException
Copyright © 2023. All rights reserved.