Builder

class Builder

Builder for VKIDAuthParams.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

An optional code challenge to be passed to auth. See https://datatracker.ietf.org/doc/html/rfc7636#section-4.2 for more information.

Link copied to clipboard

Locale that should be used during authorization.

Link copied to clipboard
var oAuth: OAuth?

An OAuth that should be used for authorization.

Link copied to clipboard

A Prompt parameter to be passed to /authorize. Note: Changing it only works for auth view browser (not auth provider). Add useOAuthProviderIfPossible = false for this to work.

Link copied to clipboard

A required parameter with a list of requested scopes for the access token. You have to specify a subset a scopes that you request for your app in Self Service. If you keep the scopes empty, only the default scope will be requested from user. You can view the list of available scopes here: https://dev.vk.com/ru/reference/access-rights. The user will see a screen where he may grant some of this scopes during authorization process.

Link copied to clipboard

An optional state to be passed to auth.

Link copied to clipboard

Theme that should be used during authorization.

Link copied to clipboard

Whether to use existing auth provider.

Functions

Link copied to clipboard

Constructs VKIDAuthParams object with provided values.