cross-platform *Why*
When implement the main auth module class in the shared Xamarin project, we need to reference the authenticator to perform login/logout functions.
However, it is likely the implementation will be different on each platform. So in the shared Xamarin project, we should create an interface for the authenticator.
*What*
Create an interface for OIDCAuthenticator. It should have the following methods:
- login - logout - resume
You can check the current implementation for iOS and Android auth SDKs to decide the suitable arguments for the interface:
https://github.com/aerogear/aerogear-ios-sdk/blob/master/modules/auth/authenticator/Authenticator.swift https://github.com/aerogear/aerogear-android-sdk/blob/master/auth/src/main/java/org/aerogear/mobile/auth/authenticator/oidc/OIDCAuthenticatorImpl.java
[Trello link|https://trello.com/c/S2rQWNdh] |
|