finish method
Finish Hosted Auth
Finishes a Hosted login/sign up by exchanging the auth code for Passage tokens.
Parameters:
code: The code returned from app link redirect to your activity.
clientSecret: You hosted app's client secret, found in Passage Console's OIDC Settings.
state: The state returned from app link redirect to your activity.
Throws:
PassageError
Implementation
Future<AuthResult> finish(String code, String state) {
return PassageFlutterPlatform.instance.hostedAuthFinish(code, state);
}