LogoutRevokeLevel

public enum LogoutRevokeLevel

Enum for handling revoke levels for logout APIs in IAS. If LogoutRevokeLevel is device and conditions (IAS authentication or x-smp-deviceid header) are not met, the request is rejected with a bad request error

  • device: Revokes a single refresh token for a specific device (requires IAS authentication and x-smp-deviceid header).

    Declaration

    Swift

    case device
    • user: Revokes all refresh tokens for the user (default behavior).

    Declaration

    Swift

    case user