LinkedAccount
Represents different linked accounts that can be linked to an embedded wallet. Supports email, SMS, JWT, and OAuth2 approaches.
Inheritors
Types
Developer JWT linked account with key ID and subject.
Email-based linked account.
OAuth2 provider linked account (Google, Apple, X, Telegram, GitHub).
SMS-based linked account using phone number.
Functions
Casts this LinkedAccount as a DeveloperJwt and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountDeveloperJwt value. Throws an exception if the LinkedAccount is not a DeveloperJwt.
Casts this LinkedAccount as a DeveloperJwt and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountDeveloperJwt value. Returns null if the LinkedAccount is not a DeveloperJwt.
Casts this LinkedAccount as a Email and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountEmail value. Throws an exception if the LinkedAccount is not a Email.
Casts this LinkedAccount as a Email and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountEmail value. Returns null if the LinkedAccount is not a Email.
Casts this LinkedAccount as a OAuth2 and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountOAuth2 value. Throws an exception if the LinkedAccount is not a OAuth2.
Casts this LinkedAccount as a OAuth2 and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountOAuth2 value. Returns null if the LinkedAccount is not a OAuth2.
Casts this LinkedAccount as a Sms and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountSms value. Throws an exception if the LinkedAccount is not a Sms.
Casts this LinkedAccount as a Sms and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.LinkedAccountSms value. Returns null if the LinkedAccount is not a Sms.