Lines Matching refs:credentials
22 credentials?: AppleAuthentication.AppleAuthenticationCredential | null;
47 credentials: null,
66 this.setState({ credentials: null });
77 const credentials = await AppleAuthentication.signInAsync({
81 this.setState({ credentials });
82 if (credentials.user) {
83 await AsyncStorage.setItem(USER_CREDENTIAL_KEY, credentials.user);
93 const credentials = await AppleAuthentication.refreshAsync({
98 this.setState({ credentials });
111 this.setState({ credentials: null, credentialState: null });
123 // Obtaining a user or the credentials failed - fallback to not found.
130 this.state.credentials?.user ?? (await AsyncStorage.getItem(USER_CREDENTIAL_KEY)) ?? null
222 {this.state.credentials && (
225 <MonoText>{JSON.stringify(this.state.credentials, null, 2)}</MonoText>