One Logo Pool Ball
AuthenticationServices · IOS API REFERENCE

ASImportableCredential.BasicAuthentication

struct · iOS 26.0+ · SDK 27.1

struct BasicAuthentication

A representation of BasicAuth as defined in the [Credential Exchange Format (CXF) specs](https://fidoalliance.org/specs/cx/cxf-v1.0-rd-20250313.html) This represents a password credential.

Members (5)

get · iOS 26.0+

password

TypeScript
get password(): (ASImportableEditableField) | null
Swift declaration
var password: ASImportableEditableField?

The password associated with this credential.

set · iOS 26.0+

password

TypeScript
set password(value: (ASImportableEditableField) | null)
Swift declaration
var password: ASImportableEditableField?

The password associated with this credential.

init · iOS 26.0+

init

TypeScript
static init(userName?: (ASImportableEditableField) | null, password?: (ASImportableEditableField) | null): ASImportableCredential_BasicAuthentication
Swift declaration
init(userName: ASImportableEditableField? = nil, password: ASImportableEditableField? = nil)
get · iOS 26.0+

userName

TypeScript
get userName(): (ASImportableEditableField) | null
Swift declaration
var userName: ASImportableEditableField?

The user name associated with this credential. When instantiating from JSON, this property will be populated from the "username" field.

set · iOS 26.0+

userName

TypeScript
set userName(value: (ASImportableEditableField) | null)
Swift declaration
var userName: ASImportableEditableField?

The user name associated with this credential. When instantiating from JSON, this property will be populated from the "username" field.

Skipped declarations

No declarations were skipped in this snapshot.

All AuthenticationServices types →