Package org.apache.iceberg.rest.auth
Interface AuthConfig
-
@Immutable public interface AuthConfig
The purpose of this class is to hold configuration options forOAuth2Util.AuthSession
.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static org.apache.iceberg.rest.auth.ImmutableAuthConfig.Builder
builder()
java.lang.String
credential()
default java.lang.Long
expiresAtMillis()
default boolean
keepRefreshed()
default java.lang.String
oauth2ServerUri()
java.util.Map<java.lang.String,java.lang.String>
optionalOAuthParams()
default java.lang.String
scope()
java.lang.String
token()
java.lang.String
tokenType()
-
-
-
Method Detail
-
token
@Nullable @Redacted java.lang.String token()
-
tokenType
@Nullable java.lang.String tokenType()
-
credential
@Nullable @Redacted java.lang.String credential()
-
scope
@Default default java.lang.String scope()
-
expiresAtMillis
@Lazy @Nullable default java.lang.Long expiresAtMillis()
-
keepRefreshed
@Default default boolean keepRefreshed()
-
oauth2ServerUri
@Nullable @Default default java.lang.String oauth2ServerUri()
-
optionalOAuthParams
java.util.Map<java.lang.String,java.lang.String> optionalOAuthParams()
-
builder
static org.apache.iceberg.rest.auth.ImmutableAuthConfig.Builder builder()
-
-