Interface CreateCustomAuthMethodRequest

interface CreateCustomAuthMethodRequest {
    authMethodId: string | Uint8Array;
    authMethodType: number;
    scopes: string[] | number[];
}

Properties

authMethodId: string | Uint8Array

For a custom authentication method, the custom auth ID should uniquely identify the user for that project. For example, for Google, we use appId:userId, so you should follow a similar format for Telegram, Twitter, or any other custom auth method.

authMethodType: number
scopes: string[] | number[]