org.keycloak

## Class AbstractOAuthClient

- java.lang.Object
- - org.keycloak.AbstractOAuthClient

-     public class AbstractOAuthClient
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected String` | `authUrl`
    `protected String` | `clientId`
    `protected Map<String,Object>` | `credentials`
    `protected boolean` | `isSecure`
    `protected boolean` | `publicClient`
    `protected RelativeUrlsUsed` | `relativeUrlsUsed`
    `protected String` | `scope`
    `protected String` | `stateCookieName`
    `protected String` | `stateCookiePath`
    `protected String` | `tokenUrl`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractOAuthClient()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAuthUrl()`
    `String` | `getClientId()`
    `Map<String,Object>` | `getCredentials()`
    `RelativeUrlsUsed` | `getRelativeUrlsUsed()`
    `String` | `getScope()`
    `protected String` | `getStateCode()`
    `String` | `getStateCookieName()`
    `String` | `getStateCookiePath()`
    `String` | `getTokenUrl()`
    `boolean` | `isPublicClient()`
    `boolean` | `isSecure()`
    `void` | `setAuthUrl(String authUrl)`
    `void` | `setClientId(String clientId)`
    `void` | `setCredentials(Map<String,Object> credentials)`
    `void` | `setPublicClient(boolean publicClient)`
    `void` | `setRelativeUrlsUsed(RelativeUrlsUsed relativeUrlsUsed)`
    `void` | `setScope(String scope)`
    `void` | `setSecure(boolean secure)`
    `void` | `setStateCookieName(String stateCookieName)`
    `void` | `setStateCookiePath(String stateCookiePath)`
    `void` | `setTokenUrl(String tokenUrl)`
    `protected String` | `stripOauthParametersFromRedirect(String uri)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### clientId

          protected String clientId

    - #### credentials

          protected Map<String,Object> credentials

    - #### authUrl

          protected String authUrl

    - #### tokenUrl

          protected String tokenUrl

    - #### relativeUrlsUsed

          protected RelativeUrlsUsed relativeUrlsUsed

    - #### scope

          protected String scope

    - #### stateCookieName

          protected String stateCookieName

    - #### stateCookiePath

          protected String stateCookiePath

    - #### isSecure

          protected boolean isSecure

    - #### publicClient

          protected boolean publicClient

  - ### Constructor Detail

    - #### AbstractOAuthClient

          public AbstractOAuthClient()

  - ### Method Detail

    - #### getStateCode

          protected String getStateCode()

    - #### getClientId

          public String getClientId()

    - #### setClientId

          public void setClientId(String clientId)

    - #### getCredentials

          public Map<String,Object> getCredentials()

    - #### setCredentials

          public void setCredentials(Map<String,Object> credentials)

    - #### getAuthUrl

          public String getAuthUrl()

    - #### setAuthUrl

          public void setAuthUrl(String authUrl)

    - #### getTokenUrl

          public String getTokenUrl()

    - #### setTokenUrl

          public void setTokenUrl(String tokenUrl)

    - #### getScope

          public String getScope()

    - #### setScope

          public void setScope(String scope)

    - #### getStateCookieName

          public String getStateCookieName()

    - #### setStateCookieName

          public void setStateCookieName(String stateCookieName)

    - #### getStateCookiePath

          public String getStateCookiePath()

    - #### setStateCookiePath

          public void setStateCookiePath(String stateCookiePath)

    - #### isPublicClient

          public boolean isPublicClient()

    - #### setPublicClient

          public void setPublicClient(boolean publicClient)

    - #### isSecure

          public boolean isSecure()

    - #### setSecure

          public void setSecure(boolean secure)

    - #### getRelativeUrlsUsed

          public RelativeUrlsUsed getRelativeUrlsUsed()

    - #### setRelativeUrlsUsed

          public void setRelativeUrlsUsed(RelativeUrlsUsed relativeUrlsUsed)

    - #### stripOauthParametersFromRedirect

          protected String stripOauthParametersFromRedirect(String uri)

Copyright © 2021 JBoss by Red Hat. All rights reserved.