Skip to main content

UseOauthPopupListener()

Signature

useOauthPopupListener: <State, Extra = unknown>(params?: useOauthCallbackParams<OauthResponse<State> & ExtraState<Extra>, Partial<OauthResponse<State> & ExtraState<Extra> & {
msg?: string;
}>>) => {
data: Partial<OauthResponse<State> & ExtraState<Extra>> | null;
isLoading: boolean;
}

Parameters

Parameter

Type

Description

params

useOauthCallbackParams<OauthResponse<State> & ExtraState<Extra>, Partial<OauthResponse<State> & ExtraState<Extra> & { msg?: string; }>>

(Optional)

Returns

{ data: Partial<OauthResponse<State> & ExtraState<Extra>> | null; isLoading: boolean; }