java.lang.Object
com.irurueta.authserver.authorization.infrastructure.github.v1.generated.api.UsersApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.27.0") public class UsersApi extends Object
  • Field Details

  • Constructor Details

    • UsersApi

      public UsersApi()
    • UsersApi

      public UsersApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • listEmailsForAuthenticatedUserRequestCreation

      private org.springframework.web.client.RestClient.ResponseSpec listEmailsForAuthenticatedUserRequestCreation() throws org.springframework.web.client.RestClientResponseException
      Lists the e-mail addresses of the authenticated user Lists every e-mail address of the user the access token belongs to, each flagged as primary and as verified. Needs the user:email scope. The authorization server only uses the address that is both primary and verified.

      200 - The e-mail addresses

      304 - Not modified since the conditional request

      401 - The access token is missing, invalid or expired

      403 - The token lacks the user:email scope, or the rate limit was exceeded

      404 - The resource is not available to the token

      Returns:
      List<Email>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • listEmailsForAuthenticatedUser

      public List<Email> listEmailsForAuthenticatedUser() throws org.springframework.web.client.RestClientResponseException
      Lists the e-mail addresses of the authenticated user Lists every e-mail address of the user the access token belongs to, each flagged as primary and as verified. Needs the user:email scope. The authorization server only uses the address that is both primary and verified.

      200 - The e-mail addresses

      304 - Not modified since the conditional request

      401 - The access token is missing, invalid or expired

      403 - The token lacks the user:email scope, or the rate limit was exceeded

      404 - The resource is not available to the token

      Returns:
      List<Email>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • listEmailsForAuthenticatedUserWithHttpInfo

      public org.springframework.http.ResponseEntity<List<Email>> listEmailsForAuthenticatedUserWithHttpInfo() throws org.springframework.web.client.RestClientResponseException
      Lists the e-mail addresses of the authenticated user Lists every e-mail address of the user the access token belongs to, each flagged as primary and as verified. Needs the user:email scope. The authorization server only uses the address that is both primary and verified.

      200 - The e-mail addresses

      304 - Not modified since the conditional request

      401 - The access token is missing, invalid or expired

      403 - The token lacks the user:email scope, or the rate limit was exceeded

      404 - The resource is not available to the token

      Returns:
      ResponseEntity<List<Email>>
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API
    • listEmailsForAuthenticatedUserWithResponseSpec

      public org.springframework.web.client.RestClient.ResponseSpec listEmailsForAuthenticatedUserWithResponseSpec() throws org.springframework.web.client.RestClientResponseException
      Lists the e-mail addresses of the authenticated user Lists every e-mail address of the user the access token belongs to, each flagged as primary and as verified. Needs the user:email scope. The authorization server only uses the address that is both primary and verified.

      200 - The e-mail addresses

      304 - Not modified since the conditional request

      401 - The access token is missing, invalid or expired

      403 - The token lacks the user:email scope, or the rate limit was exceeded

      404 - The resource is not available to the token

      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.client.RestClientResponseException - if an error occurs while attempting to invoke the API