Sessions

Manage login, authorization, and security sessions in macOS.

Overview

Use the Security.AuthSession API to work with session management and inquiry functions.

Topics

Creating a Session

struct SessionCreationFlags

The flags that affect the creation of a security session.

struct SessionAttributeBits

The attributes of a security session.

Session Information

Session ID Values

Use these values as placeholders for specific sessions.

typealias SecuritySessionId

A type that contains an authorization session identifier.

Result Codes

Sessions API Result Codes

Recognize result codes specific to the sessions API.

See Also

Authorization and Authentication

Password AutoFill

Streamline your app’s login and onboarding procedures.

Shared Web Credentials

Share credentials between iOS apps and their website counterparts.

Authorization Services

Access restricted areas of the operating system, and control access to particular features of your macOS app.

Authorization Plug-ins

Extend the authorization services API by creating plug-ins that can participate in authorization decisions.