# Uses of Class
com.ocient.auth.AuthException

Packages that use AuthException
Package
Description
com.ocient.auth
com.ocient.jdbc

## Uses of AuthException in com.ocient.auth

Methods in com.ocient.auth that throw AuthException
Modifier and Type
Method
Description
`T`
OpenIDAuthenticators.TokenPoller.`apply(long timeoutMillis)`
`static OpenIDAuthenticators.AuthorizationCodeWithPKCEClient.AuthorizationCodeGrant<OktaAuthenticators.OktaNativeSSOToken>`
OktaAuthenticators.OktaNativeSSOClient.`createAuthorizationCodeGrant(OpenIDAuthenticators.AuthorizationCodeWithPKCEClient client, ClientWireProtocol.OpenIDAuthenticator authenticator)`
Returns a `OpenIDAuthenticators.AuthorizationCodeWithPKCEClient.AuthorizationCodeGrant` that yields an `OktaAuthenticators.OktaNativeSSOToken` on authorization success.
`static OpenIDAuthenticators.DeviceAuthorizationGrant<OktaAuthenticators.OktaNativeSSOToken>`
OktaAuthenticators.OktaNativeSSOClient.`createDeviceAuthorizationGrant(ClientWireProtocol.OpenIDAuthenticator authenticator)`
Returns a `OpenIDAuthenticators.DeviceAuthorizationGrant` that yields an `OktaAuthenticators.OktaNativeSSOToken` on authorization success.
`static String`
OktaAuthenticators.OktaAuthenticationClient.`createSessionToken(ClientWireProtocol.OpenIDAuthenticator authenticator, String oktaUsername, char[] oktaPassword)`
Authenticate the user with the Okta issuer and return the session token
`static OktaAuthenticators.OktaNativeSSOToken`
OktaAuthenticators.OktaNativeSSOToken.`decrypt(byte[] passphrase, InputStream input)`
Decrypts the `OktaAuthenticators.OktaNativeSSOToken` using the secret provided
`T`
OpenIDAuthenticators.DeviceAuthorizationGrant.`getToken(long timeoutMillis)`
Polls the issuer's /token endpoint for the authorization response.
`String`
OpenIDAuthenticators.OAuthToken.`getToken()`
`String`
Token.`getToken()`

## Uses of AuthException in com.ocient.jdbc

Methods in com.ocient.jdbc that throw AuthException
Modifier and Type
Method
Description
`static OktaAuthenticators.OktaNativeSSOToken`
XGConnection.`createOktaNativeSSOToken(ClientWireProtocol.OpenIDAuthenticator authenticator, Properties properties)`
`static Optional<OktaAuthenticators.OktaNativeSSOToken>`
XGConnection.`readOktaNativeSSOToken(Path tokenFilePath)`