Package org.stellar.sdk
Class Sep45Challenge.ChallengeAuthorizationEntries
java.lang.Object
org.stellar.sdk.Sep45Challenge.ChallengeAuthorizationEntries
- Enclosing class:
Sep45Challenge
Contains the parsed data from a SEP-45 challenge.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()boolean@NonNull List<SorobanAuthorizationEntry> The list of authorization entries.@NonNull StringThe client contract account ID (C...The client domain (optional, for client domain verification).The client domain account ID (optional, for client domain verification).@NonNull StringThe home domain.@NonNull StringgetNonce()The nonce value.@NonNull StringThe server account ID (G...@NonNull StringThe web authentication contract ID (C...@NonNull StringThe web auth domain.inthashCode()toString()
-
Method Details
-
builder
public static Sep45Challenge.ChallengeAuthorizationEntries.ChallengeAuthorizationEntriesBuilder builder() -
getAuthorizationEntries
The list of authorization entries.- Returns:
- the authorization entries
-
getClientContractId
The client contract account ID (C... address).- Returns:
- the client contract ID
-
getServerAccountId
The server account ID (G... address).- Returns:
- the server account ID
-
getWebAuthContractId
The web authentication contract ID (C... address).- Returns:
- the web auth contract ID
-
getHomeDomain
The home domain.- Returns:
- the home domain
-
getWebAuthDomain
The web auth domain.- Returns:
- the web auth domain
-
getNonce
The nonce value.- Returns:
- the nonce
-
getClientDomain
The client domain (optional, for client domain verification).- Returns:
- the client domain, or null if not present
-
getClientDomainAccountId
The client domain account ID (optional, for client domain verification).- Returns:
- the client domain account ID, or null if not present
-
equals
-
hashCode
public int hashCode() -
toString
-