예제 #1
0
 public void PerformActionWithFreshTokens(AuthorizationService service, Action <string, string, AuthorizationException> callback)
 {
     PerformActionWithFreshTokens(service, new AuthStateAction(callback));
 }
        public static IAuthorizationFlowSession PresentAuthorizationRequest(AuthorizationRequest request, UIViewController presentingViewController, AuthorizationCallback callback)
        {
            var coordinator = new AuthorizationUICoordinatorIOS(presentingViewController);

            return(AuthorizationService.PresentAuthorizationRequest(request, coordinator, callback));
        }
예제 #3
0
 public void PerformActionWithFreshTokens(AuthorizationService service, IDictionary <string, string> refreshTokenAdditionalParams, Action <string, string, AuthorizationException> callback)
 {
     PerformActionWithFreshTokens(service, refreshTokenAdditionalParams, new AuthStateAction(callback));
 }