FirstPartyEndpoint

An endpoint owned by the current instance of the app.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The RSA public key of the endpoint.

Functions

Link copied to clipboard
suspend fun authorizeIndefinitely(thirdPartyEndpointPublicKeySerialized: ByteArray): ThirdPartyEndpointAuth

Issue a PDA for a third-party endpoint (using its public key) and renew it indefinitely.

suspend fun authorizeIndefinitely(thirdPartyEndpoint: ThirdPartyEndpoint): ByteArray

Issue a PDA for a third-party endpoint and renew it indefinitely.

Link copied to clipboard
suspend fun delete()

Delete the endpoint.

Link copied to clipboard
suspend fun issueAuthorization(thirdPartyEndpointPublicKeySerialized: ByteArray, expiryDate: ZonedDateTime): ThirdPartyEndpointAuth

Issue a PDA for a third-party endpoint using its public key.

suspend fun issueAuthorization(thirdPartyEndpoint: ThirdPartyEndpoint, expiryDate: ZonedDateTime): ByteArray

Issue a PDA for a third-party endpoint.