For the complete documentation index, see llms.txt. This page is also available as Markdown.

TossAuth.isIntegrated

Functional API getIsTossLoginIntegratedServiceYou can use the same function with this as well.

Feature description

Checks whether the user has linked Toss Login. It can be used for migrations such as finding existing Toss Login users and converting them to game identifiers.

Toss app Android/iOS 5.237.0 It can be used on versions above. If called in an unsupported version, UNSUPPORTED_APP_VERSION an error occurs.

When called from a mini app that does not use Toss Login "oauth2ClientId configuration is required." An error occurs in the message.

Type

TossAuth.isIntegrated(): Promise<boolean>;

Params

None

Response

If it is linked true, otherwise falseis returned.

Error code

The error code is the error.code value.

Code
Description

UNSUPPORTED_APP_VERSION

If the running version of the Toss app doesn't support this feature, it occurs immediately upon call. TossAuth.isIntegrated.isSupported()Check in advance with error.messageand, if it occurs, show the user the (update guidance message).

Example code

Was this helpful?