Package org.apache.iceberg.rest.auth
Class OAuth2Properties
java.lang.Object
org.apache.iceberg.rest.auth.OAuth2Properties
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
Optional param audience for OAuth2.static final String
Scope for OAuth2 flows.static final String
A credential to exchange for a token in the OAuth2 client credentials flow.static final String
static final String
static final String
static final String
static final String
static final String
static final String
Token endpoint URI to fetch token from if the Rest Catalog is not the authorization server.static final String
static final String
Optional param resource for OAuth2.static final String
static final String
static final String
Additional scope for OAuth2.static final String
A Bearer token which will be used for interaction with the server.static final String
Interval in milliseconds to wait before attempting to exchange the configured catalog Bearer token.static final long
static final String
Controls whether a token should be refreshed if information about its expiration time is availablestatic final boolean
static final String
static final String
-
Method Summary
-
Field Details
-
TOKEN
A Bearer token which will be used for interaction with the server.- See Also:
-
CREDENTIAL
A credential to exchange for a token in the OAuth2 client credentials flow.- See Also:
-
OAUTH2_SERVER_URI
Token endpoint URI to fetch token from if the Rest Catalog is not the authorization server.- See Also:
-
TOKEN_EXPIRES_IN_MS
Interval in milliseconds to wait before attempting to exchange the configured catalog Bearer token. By default, token exchange will be attempted after 1 hour.- See Also:
-
TOKEN_EXPIRES_IN_MS_DEFAULT
public static final long TOKEN_EXPIRES_IN_MS_DEFAULT- See Also:
-
TOKEN_REFRESH_ENABLED
Controls whether a token should be refreshed if information about its expiration time is available- See Also:
-
TOKEN_REFRESH_ENABLED_DEFAULT
public static final boolean TOKEN_REFRESH_ENABLED_DEFAULT- See Also:
-
SCOPE
Additional scope for OAuth2.- See Also:
-
AUDIENCE
Optional param audience for OAuth2.- See Also:
-
RESOURCE
Optional param resource for OAuth2.- See Also:
-
CATALOG_SCOPE
Scope for OAuth2 flows.- See Also:
-
ACCESS_TOKEN_TYPE
- See Also:
-
REFRESH_TOKEN_TYPE
- See Also:
-
ID_TOKEN_TYPE
- See Also:
-
SAML1_TOKEN_TYPE
- See Also:
-
SAML2_TOKEN_TYPE
- See Also:
-
JWT_TOKEN_TYPE
- See Also:
-
INVALID_REQUEST_ERROR
- See Also:
-
INVALID_CLIENT_ERROR
- See Also:
-
INVALID_GRANT_ERROR
- See Also:
-
UNAUTHORIZED_CLIENT_ERROR
- See Also:
-
UNSUPPORTED_GRANT_TYPE_ERROR
- See Also:
-
INVALID_SCOPE_ERROR
- See Also:
-