Package ch.examzone.sebbb.api
Class VerificationApi
java.lang.Object
ch.examzone.sebbb.api.VerificationApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetJwks()Public keys to verify session tokens locally (ES256)okhttp3.CallgetJwksAsync(ApiCallback<Jwks> _callback) Public keys to verify session tokens locally (ES256) (asynchronously)okhttp3.CallgetJwksCall(ApiCallback _callback) Build call for getJwksPublic keys to verify session tokens locally (ES256)voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) verifySessionToken(String xSebbbSession) Check a session token live Pass the X-Sebbb-Session header your exam page received from the app.okhttp3.CallverifySessionTokenAsync(String xSebbbSession, ApiCallback<Verification> _callback) Check a session token live (asynchronously) Pass the X-Sebbb-Session header your exam page received from the app.okhttp3.CallverifySessionTokenCall(String xSebbbSession, ApiCallback _callback) Build call for verifySessionTokenverifySessionTokenWithHttpInfo(String xSebbbSession) Check a session token live Pass the X-Sebbb-Session header your exam page received from the app.
-
Constructor Details
-
VerificationApi
public VerificationApi() -
VerificationApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
getJwksCall
Build call for getJwks- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Response Details Status Code Description Response Headers 200 JWKS -
-
getJwks
Public keys to verify session tokens locally (ES256)- Returns:
- Jwks
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Response Details Status Code Description Response Headers 200 JWKS -
-
getJwksWithHttpInfo
Public keys to verify session tokens locally (ES256)- Returns:
- ApiResponse<Jwks>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Response Details Status Code Description Response Headers 200 JWKS -
-
getJwksAsync
Public keys to verify session tokens locally (ES256) (asynchronously)- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Response Details Status Code Description Response Headers 200 JWKS -
-
verifySessionTokenCall
public okhttp3.Call verifySessionTokenCall(String xSebbbSession, ApiCallback _callback) throws ApiException Build call for verifySessionToken- Parameters:
xSebbbSession- Session token (JWT) (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Response Details Status Code Description Response Headers 200 Verification -
-
verifySessionToken
Check a session token live Pass the X-Sebbb-Session header your exam page received from the app.- Parameters:
xSebbbSession- Session token (JWT) (required)- Returns:
- Verification
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Response Details Status Code Description Response Headers 200 Verification -
-
verifySessionTokenWithHttpInfo
public ApiResponse<Verification> verifySessionTokenWithHttpInfo(String xSebbbSession) throws ApiException Check a session token live Pass the X-Sebbb-Session header your exam page received from the app.- Parameters:
xSebbbSession- Session token (JWT) (required)- Returns:
- ApiResponse<Verification>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Response Details Status Code Description Response Headers 200 Verification -
-
verifySessionTokenAsync
public okhttp3.Call verifySessionTokenAsync(String xSebbbSession, ApiCallback<Verification> _callback) throws ApiException Check a session token live (asynchronously) Pass the X-Sebbb-Session header your exam page received from the app.- Parameters:
xSebbbSession- Session token (JWT) (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Response Details Status Code Description Response Headers 200 Verification -
-