UNPKG

react-native-azure-ad-auth

Version:

A react native azure active directory authentication component

28 lines (27 loc) 819 B
import { Component } from 'react'; import { ViewStyle } from 'react-native'; import AzureAdInstance from './AzureAdInstance'; import AzureAdAuth from './AzureAdAuth'; interface AzureAdViewProps { azureAdInstance: AzureAdInstance; onSuccess: () => void; onCancel: () => void; loadingMessage: string; needLogout?: boolean; loadingView?: any; loadingStyle?: ViewStyle; } interface AzureAdViewState { visible: boolean; cancelled: boolean; } export default class AzureAdView extends Component<AzureAdViewProps, AzureAdViewState> { auth: AzureAdAuth; constructor(props: AzureAdViewProps, state: AzureAdViewState); handleTokenRequest(e: { url: string; }): any; renderLoadingView(): JSX.Element; render(): JSX.Element; } export {};