Contents

URLCredential

An authentication credential consisting of information specific to the type of credential and the type of persistent storage to use, if any.

Declaration

class URLCredential

Mentioned in

Overview

The URL Loading System supports password-based user credentials, certificate-based user credentials, and certificate-based server credentials.

When you create a credential, you can specify it for a single request, persist it temporarily (until your app quits), or persist it permanently. Permanent persistence can be local persistence in the keychain, or synchronized persistence across the user’s devices, based on their Apple ID.

Topics

Creating a credential

Getting credential properties

Initializers

Default Implementations

See Also

Authentication and credentials