Interface StripePrivyTokenResponseOutput.Builder

  • Method Details

    • authorizationSignature

      StripePrivyTokenResponseOutput.Builder authorizationSignature(String authorizationSignature)

      Base64-encoded ECDSA P-256 authorization signature (only present when includeAuthorizationSignature is true)

      Parameters:
      authorizationSignature - Base64-encoded ECDSA P-256 authorization signature (only present when includeAuthorizationSignature is true)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestExpiry

      StripePrivyTokenResponseOutput.Builder requestExpiry(Long requestExpiry)

      Unix timestamp in milliseconds when the authorization signature expires. Set as privy-request-expiry header.

      Parameters:
      requestExpiry - Unix timestamp in milliseconds when the authorization signature expires. Set as privy-request-expiry header.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appId

      The Privy app ID for the privy-app-id header

      Parameters:
      appId - The Privy app ID for the privy-app-id header
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • basicAuthToken

      StripePrivyTokenResponseOutput.Builder basicAuthToken(String basicAuthToken)

      Base64-encoded Basic Auth token (appId:appSecret) for the Authorization header

      Parameters:
      basicAuthToken - Base64-encoded Basic Auth token (appId:appSecret) for the Authorization header
      Returns:
      Returns a reference to this object so that method calls can be chained together.