LegacyCallBacks interface
Warning
This API is now deprecated.
As of TeamsJS v2.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 TeamsJS v2.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 TeamsJS v2.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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour