miniapp / com.rakuten.tech.mobile.miniapp.errors / MiniAppAccessTokenError

MiniAppAccessTokenError

class MiniAppAccessTokenError : MiniAppBridgeError

A class to provide the custom errors specific for access token.

Constructors

<init> A class to provide the custom errors specific for access token.MiniAppAccessTokenError(type: String? = null, message: String? = null)

Properties

message val message: String?
type val type: String?

Companion Object Properties

audienceNotSupportedError val audienceNotSupportedError: MiniAppAccessTokenError
scopesNotSupportedError val scopesNotSupportedError: MiniAppAccessTokenError

Companion Object Functions

authorizationFailureError send custom error message for authorization fail from host app.fun authorizationFailureError(message: String): MiniAppAccessTokenError
custom send custom error message from host app.fun custom(message: String): MiniAppAccessTokenError