LegacyCallBacks interface
Warning
This API is now deprecated.
As of 2.0.0, this interface has been deprecated in favor of leveraging the Promise
returned from authentication.authenticate(authenticateParameters: AuthenticatePopUpParameters): Promise<string>
Used in AuthenticateParameters and AuthTokenRequest
Properties
failure |
|
success |
Property Details
failureCallback
Warning
This API is now deprecated.
As of 2.0.0, this property has been deprecated in favor of a Promise-based pattern.
A function that is called if the request fails, with the reason for the failure.
failureCallback?: (reason: string) => void
Property Value
(reason: string) => void
successCallback
Warning
This API is now deprecated.
As of 2.0.0, this property has been deprecated in favor of a Promise-based pattern.
A function that is called if the request succeeds.
successCallback?: (result: string) => void
Property Value
(result: string) => void
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for