Package com.networknt.oauth.token.helper
Class HttpAuth
- java.lang.Object
-
- com.networknt.oauth.token.helper.HttpAuth
-
public class HttpAuth extends Object
-
-
Constructor Summary
Constructors Constructor Description HttpAuth(io.undertow.server.HttpServerExchange exchange)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuth()StringgetClientId()StringgetClientSecret()StringgetCredentials()booleanisBasicAuth()booleanisHeaderAvailable()booleanisInvalidCredentials()booleanisValid()
-
-
-
Method Detail
-
isHeaderAvailable
public boolean isHeaderAvailable()
-
getClientId
public String getClientId()
-
getClientSecret
public String getClientSecret()
-
isInvalidCredentials
public boolean isInvalidCredentials()
-
isValid
public boolean isValid()
-
isBasicAuth
public boolean isBasicAuth()
-
getCredentials
public String getCredentials()
-
getAuth
public String getAuth()
-
-