AppAuth
Source
iOS
OIDAuthState+IOS.h
Go to the documentation of this file.
1
19
#import <UIKit/UIKit.h>
20
21
#import "
OIDAuthState.h
"
22
23
NS_ASSUME_NONNULL_BEGIN
24
27
@interface
OIDAuthState (IOS)
28
44
+ (id<
OIDExternalUserAgentSession
>)
45
authStateByPresentingAuthorizationRequest:(
OIDAuthorizationRequest
*)authorizationRequest
46
presentingViewController:(UIViewController *)presentingViewController
47
callback:(
OIDAuthStateAuthorizationCallback
)callback;
48
49
+ (id<
OIDExternalUserAgentSession
>)
50
authStateByPresentingAuthorizationRequest:(
OIDAuthorizationRequest
*)authorizationRequest
51
callback:(
OIDAuthStateAuthorizationCallback
)callback API_AVAILABLE(ios(11))
52
__deprecated_msg("This method will not work on iOS 13. Use "
53
"authStateByPresentingAuthorizationRequest:presentingViewController:callback:");
54
55
@end
56
57
NS_ASSUME_NONNULL_END
OIDAuthState.h
AppAuth iOS SDK.
OIDAuthState(IOS)
iOS specific convenience methods for OIDAuthState.
Definition:
OIDAuthState+IOS.h:27
OIDAuthorizationRequest
Represents an authorization request.
Definition:
OIDAuthorizationRequest.h:41
OIDAuthStateAuthorizationCallback
void(^ OIDAuthStateAuthorizationCallback)(OIDAuthState *_Nullable authState, NSError *_Nullable error)
The method called when the authStateByPresentingAuthorizationRequest:presentingViewController:callbac...
Definition:
OIDAuthState.h:48
OIDExternalUserAgentSession-p
Represents an in-flight external user-agent session.
Definition:
OIDExternalUserAgentSession.h:23
Generated by
1.8.16