microsoft static method
Implementation
static DVOAuth2Config microsoft({
required String clientId,
required Uri redirectUri,
String tenant = 'common',
String? clientSecret,
List<String> scopes = const <String>['openid', 'email', 'profile'],
}) =>
DVOAuth2Config(
clientId: clientId,
clientSecret: clientSecret,
redirectUri: redirectUri,
scopes: scopes,
authorizationEndpoint: Uri.https(
'login.microsoftonline.com', '/$tenant/oauth2/v2.0/authorize'),
tokenEndpoint:
Uri.https('login.microsoftonline.com', '/$tenant/oauth2/v2.0/token'),
userInfoEndpoint: Uri.https('graph.microsoft.com', '/oidc/userinfo'),
);