setUpEnvironment method
Future<void>
setUpEnvironment(
{ - required String clientId,
- required String clientSecret,
- required String urlScheme,
- String state = "HnlHOJTkTb66Y5H",
- bool isProduction = false,
- String redirectUri = "https://oauthtest.com/authorization/return",
- String scope = "urn:uae:digitalid:profile",
})
Implementation
Future<void> setUpEnvironment({
required String clientId,
required String clientSecret,
required String urlScheme,
String state = "HnlHOJTkTb66Y5H",
bool isProduction = false,
String redirectUri = "https://oauthtest.com/authorization/return",
String scope = "urn:uae:digitalid:profile",
}) async {
UaePassPlatform.instance.setUp(
clientId: clientId,
clientSecret: clientSecret,
isProduction: isProduction,
urlScheme: urlScheme,
state: state,
redirectUri: redirectUri,
scope: scope,
);
}