AppAuth
Source
macOS
OIDRedirectHTTPHandler.h
Go to the documentation of this file.
1
19
#import <Foundation/Foundation.h>
20
21
NS_ASSUME_NONNULL_BEGIN
22
23
@protocol
OIDExternalUserAgentSession
;
24
28
@interface
OIDRedirectHTTPHandler
: NSObject
29
36
@property
(nonatomic, strong, nullable) id<OIDExternalUserAgentSession>
currentAuthorizationFlow
;
37
46
- (instancetype)initWithSuccessURL:(nullable NSURL *)successURL;
47
59
- (NSURL *)startHTTPListener:(NSError **)returnError withPort:(uint16_t)port;
60
71
- (NSURL *)startHTTPListener:(NSError **)returnError;
72
80
- (void)
cancelHTTPListener
;
81
82
@end
83
84
NS_ASSUME_NONNULL_END
OIDRedirectHTTPHandler::currentAuthorizationFlow
id< OIDExternalUserAgentSession > currentAuthorizationFlow
The external user-agent request flow session which receives the return URL from the browser....
Definition:
OIDRedirectHTTPHandler.h:36
OIDExternalUserAgentSession-p
Represents an in-flight external user-agent session.
Definition:
OIDExternalUserAgentSession.h:23
OIDRedirectHTTPHandler
Start a HTTP server on the loopback interface (i.e. 127.0.0.1) to receive the OAuth response redirect...
Definition:
OIDRedirectHTTPHandler.h:28
-[OIDRedirectHTTPHandler cancelHTTPListener]
void cancelHTTPListener()
Stops listening the loopback interface and sends an cancellation error (in the domain OIDGeneralError...
Generated by
1.8.16