Type Alias PerformInteractiveLoginFn
PerformInteractiveLoginFn: (
props: {
getLoginUrl: (props: { redirectUri: string }) => Promise<string>;
},
) => Promise<{ code: string; state: string } | string>
Type Declaration
- (
props: {
getLoginUrl: (props: { redirectUri: string }) => Promise<string>;
},
): Promise<{ code: string; state: string } | string> Parameters
- props: { getLoginUrl: (props: { redirectUri: string }) => Promise<string> }
getLoginUrl: (props: { redirectUri: string }) => Promise<string>
Returns Promise<{ code: string; state: string } | string>
Returns the url to the login page. The redirectUri parameter property is used to tell the login page where to redirect the browser after the login has succeeded. Note that the redirectUri needs to be registered in the oauth configuration.