AppAuth
Classes | Typedefs
OIDExternalUserAgentIOSCustomBrowser.h File Reference

AppAuth iOS SDK. More...

#import <Foundation/Foundation.h>
#import "OIDExternalUserAgent.h"

Go to the source code of this file.

Classes

class  OIDExternalUserAgentIOSCustomBrowser
 An implementation of the OIDExternalUserAgent protocol for iOS that uses a custom browser (i.e. not Safari) for external requests. It is suitable for browsers that offer a custom url scheme that simply replaces the "https" scheme. It is not designed for browsers that require other modifications to the URL. If the browser is not installed the user will be prompted to install it. More...
 

Typedefs

typedef NSURL *_Nullable(^ OIDCustomBrowserURLTransformation) (NSURL *_Nullable requestURL)
 A block that transforms a regular http/https URL into one that will open in an alternative browser. More...
 

Detailed Description

AppAuth iOS SDK.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Typedef Documentation

◆ OIDCustomBrowserURLTransformation

typedef NSURL* _Nullable(^ OIDCustomBrowserURLTransformation) (NSURL *_Nullable requestURL)

A block that transforms a regular http/https URL into one that will open in an alternative browser.

Parameters
requestURLthe http/https request URL to be transformed.
Returns
transformed URL.