Top Constructors Methods
com.oracle.bmc.auth

public abstract Class AbstractServiceAccountTokenSupplier

extends Object
implements ServiceAccountTokenSupplier
Class Inheritance
All Implemented Interfaces
com.oracle.bmc.auth.ServiceAccountTokenSupplier
Known Direct Subclasses
com.oracle.bmc.auth.DefaultServiceAccountTokenProvider, com.oracle.bmc.auth.SuppliedServiceAccountTokenProvider
Imports
com.oracle.bmc.auth.internal.JwtClaimsSet, java.io.IOException, java.text.ParseException, java.time.Instant, java.util.Date

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

kubernetes service account token
getServiceAccountToken
()

Implements com.oracle.bmc.auth.ServiceAccountTokenSupplier.getServiceAccountToken.

Validate service account token and return to oke workload identity provider.

protected abstract String
private Boolean
isValidServiceAccountToken(String token)

Validate if the service account token already expired and validate it is a valid jwt token format.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractServiceAccountTokenSupplierback to summary
public AbstractServiceAccountTokenSupplier()

Method Detail

getServiceAccountTokenback to summary
public String getServiceAccountToken()

Implements com.oracle.bmc.auth.ServiceAccountTokenSupplier.getServiceAccountToken.

Validate service account token and return to oke workload identity provider.

Returns:String

kubernetes service account token

Annotations
@Override
getTokenInnerback to summary
protected abstract String getTokenInner() throws IOException
isValidServiceAccountTokenback to summary
private Boolean isValidServiceAccountToken(String token) throws ParseException

Validate if the service account token already expired and validate it is a valid jwt token format.