OAuthListWidget
Constructs a multibranding widget that supports auth with multiple OAuths.
Since
1.0.0
Parameters
Layout configuration for the widget.
Styling widget configuration.
A callback to be invoked upon a successful auth.
A callback to be invoked upon successful first step of auth - receiving auth code which can later be exchanged to access token.
A callback to be invoked upon an error during auth.
A set of OAuths the should be displayed to the user.
Optional params to be passed to auth. See VKIDAuthUiParams.Builder for more info.
Constructs a multibranding widget that supports auth with multiple OAuths.
This version integrates Group Subscription flow. The flow will be shown right after successful auth. NOTE: The "groups" scope will be added automatically to the set of requested scopes.
Since
2.5.0
Parameters
Layout configuration for the widget.
Styling widget configuration.
A callback to be invoked upon a successful auth.
A callback to be invoked upon successful first step of auth - receiving auth code which can later be exchanged to access token.
A callback to be invoked upon an error during auth.
A set of OAuths the should be displayed to the user.
Optional params to be passed to auth. See VKIDAuthUiParams.Builder for more info.
The id of the group the user will be subscribed to.
Will be called upon successful subscription.
Will be called upon any unsuccessful flow completion along with an description of the specific encountered error.
The host state for snackbars. Use along with GroupSubscriptionSnackbarHost and pass the same state as there.
The widget style, can change appearance.