Companion
object Companion
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns a credential that gets an ID token for audience from Application Default Credentials.
fun forIdToken(audience: String, key: AuthCredential.ServiceAccount.Credential): AuthCredential.ServiceAccount
Link copied to clipboard
fun fromKey(key: AuthCredential.ServiceAccount.Credential, scopes: List<String>): AuthCredential.ServiceAccount