loginWithMicrosoft method
Future<Map<Object?, Object?> ?>
loginWithMicrosoft({
- required String tenantId,
- required String clientId,
- String? clientSecret,
- required String redirectUrl,
- required String scope,
- String? tokenScope,
- String? nonce,
override
Implementation
@override
Future<Map<Object?, Object?>?> loginWithMicrosoft({
required String tenantId,
required String clientId,
String? clientSecret,
required String redirectUrl,
required String scope,
String? tokenScope,
String? nonce,
}) async {
final token = await methodChannel
.invokeMethod<Map<Object?, Object?>?>('loginWithMicrosoft', {
'tenantId': tenantId,
'clientId': clientId,
'clientSecret': ?clientSecret,
'redirectUrl': redirectUrl,
'scope': scope,
'tokenScope': ?tokenScope,
'nonce': ?nonce,
});
return token;
}