Class VerificationApi

java.lang.Object
ch.examzone.sebbb.api.VerificationApi

public class VerificationApi extends Object
  • Constructor Details

    • VerificationApi

      public VerificationApi()
    • VerificationApi

      public VerificationApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • getJwksCall

      public okhttp3.Call getJwksCall(ApiCallback _callback) throws ApiException
      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 Jwks getJwks() throws ApiException
      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 ApiResponse<Jwks> getJwksWithHttpInfo() throws ApiException
      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 okhttp3.Call getJwksAsync(ApiCallback<Jwks> _callback) throws ApiException
      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

      public Verification verifySessionToken(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:
      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 -