Package org. stellar. walletsdk. auth
Types
Link copied to clipboard
Header signer to sign JWT for GET /Auth request.
Link copied to clipboard
@Serializable
Content copied to clipboard
Link copied to clipboard
open class DefaultAuthHeaderSigner(expiration: Duration) : AuthHeaderSigner
Content copied to clipboard
Header signer signing JWT for GET /Auth with a main custodial key
Link copied to clipboard
open class DomainAuthHeaderSigner(url: String, requestTransformer: HttpRequestBuilder.() -> Unit, expiration: Duration) : DefaultAuthHeaderSigner
Content copied to clipboard
Auth header signer using remote server to form and sign the JWT. On calling createToken it will send JWTSignData to the specified url, expecting SignedJWT in response.
Link copied to clipboard
Interface to provide wallet signer methods.
Functions
Link copied to clipboard
suspend fun createAuthSignToken(account: AccountKeyPair, webAuthEndpoint: String, parameters: Map<String, String>, clientDomain: String? = null, authHeaderSigner: AuthHeaderSigner? = null): String?
Content copied to clipboard