AppAuth
|
AppAuth iOS SDK. More...
#import <Foundation/Foundation.h>
Go to the source code of this file.
Classes | |
class | OIDAuthState |
A convenience class that retains the auth state between OIDAuthorizationResponses and OIDTokenResponses . More... | |
Typedefs | |
typedef void(^ | OIDAuthStateAction) (NSString *_Nullable accessToken, NSString *_Nullable idToken, NSError *_Nullable error) |
Represents a block used to call an action with a fresh access token. More... | |
typedef void(^ | OIDAuthStateAuthorizationCallback) (OIDAuthState *_Nullable authState, NSError *_Nullable error) |
The method called when the authStateByPresentingAuthorizationRequest:presentingViewController:callback: (OIDAuthState(IOS)) method has completed or failed. More... | |
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 void(^ OIDAuthStateAction) (NSString *_Nullable accessToken, NSString *_Nullable idToken, NSError *_Nullable error) |
Represents a block used to call an action with a fresh access token.
accessToken | A valid access token if available. |
idToken | A valid ID token if available. |
error | The error if an error occurred. |
typedef void(^ OIDAuthStateAuthorizationCallback) (OIDAuthState *_Nullable authState, NSError *_Nullable error) |
The method called when the authStateByPresentingAuthorizationRequest:presentingViewController:callback: (OIDAuthState(IOS))
method has completed or failed.
authState | The auth state, if the authorization request succeeded. |
error | The error if an error occurred. |