Bixby Developer Center

References

revoke-endpoint

optionalvalue required

The endpoint that the application calls to revoke an access token. If this is a local endpoint, you can use a :: separator to specify functions within a file.

Caution

The specified endpoint, whether it is remote or local, must use HTTPS.

Example

// remote endpoint
revoke-endpoint (https://accounts.example/api/revoke-token)

// local endpoint
revoke-endpoint (AuthEndpoints.js::revokeEndpoint)

A local endpoint receives $clientId, $clientSecret, and $accessToken parameters in its input object.

export function revokeEndpoint(input) {
const { $clientId, $clientSecret, $accessToken } = input
// code to revoke authorization
}