Structure

ASAuthorization.OpenIDOperation

The kinds of operations that you can perform with OpenID authentication.

Declaration

struct OpenIDOperation

Overview

Use one of these values as the requestedOperation property in an OpenID request that you make with an instance of either ASAuthorizationAppleIDRequest or ASAuthorizationSingleSignOnRequest.

Topics

Operation Types

static let operationLogin: ASAuthorization.OpenIDOperation

An operation used to authenticate a user.

static let operationRefresh: ASAuthorization.OpenIDOperation

An operation that refreshes the logged-in user’s credentials.

static let operationLogout: ASAuthorization.OpenIDOperation

An operation that ends an authenticated session.

static let operationImplicit: ASAuthorization.OpenIDOperation

An operation that depends on the particular kind of credential provider.

Creating an Operation

init(String)

Creates an operation from the given string.

init(rawValue: String)

Creates an operation from the given string.

Relationships

See Also

Characterizing an Authorization

struct ASAuthorization.Scope

The kinds of contact information that can be requested from the user.