Esempio n. 1
0
        protected BaseSignInWithAppleService(Func <UIWindow> windowProvider)
        {
            _appleIdProvider = new ASAuthorizationAppleIdProvider();

            _authControllerDelegate = new CustomDelegate();
            _authControllerDelegate.CompletedWithAppleId  += DidCompleteAuthWithAppleId;
            _authControllerDelegate.CompletedWithPassword += DidCompleteAuthWithPassword;
            _authControllerDelegate.CompletedWithError    += DidCompleteAuthWithError;

            _presentationProvider = new CustomPresentationContextProvider(windowProvider);
        }
 public SampleWebSignInWithAppleService(Func <UIWindow> windowProvider)
 {
     _presentationContext = new CustomPresentationContextProvider(windowProvider);
 }