Package org.keycloak

Class AbstractOAuthClient


  • public class AbstractOAuthClient
    extends Object
    Version:
    $Revision: 1 $
    Author:
    Bill Burke
    • Field Detail

      • clientId

        protected String clientId
      • authUrl

        protected String authUrl
      • tokenUrl

        protected String tokenUrl
      • 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)
      • 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)
      • setRelativeUrlsUsed

        public void setRelativeUrlsUsed​(RelativeUrlsUsed relativeUrlsUsed)
      • stripOauthParametersFromRedirect

        protected String stripOauthParametersFromRedirect​(String uri)