One Logo Pool Ball
AuthenticationServices · IOS API REFERENCE

ASAutoFillURLScope

struct · iOS 26.2+ · SDK 27.1

struct ASAutoFillURLScope

This structure represents the subset of URL components supported for the AutoFill of credentials.

Members (11)

get · iOS 26.2+

url

TypeScript
get url(): (string) | null
Swift declaration
var url: URL? { get }

A URL created from the components.

init · iOS 26.2+

init

TypeScript
static initUrl(url: string): (ASAutoFillURLScope) | null
Swift declaration
init?(url: URL)

Initialize with the components of a URL. If the url string from the URL is malformed, nil is returned. - Parameters: - url: The URL to expand.

get · iOS 26.2+

host

TypeScript
get host(): string
Swift declaration
var host: String

The host subcomponent.

set · iOS 26.2+

host

TypeScript
set host(value: string)
Swift declaration
var host: String

The host subcomponent.

get · iOS 26.2+

path

TypeScript
get path(): string
Swift declaration
var path: String

The path subcomponent.

set · iOS 26.2+

path

TypeScript
set path(value: string)
Swift declaration
var path: String

The path subcomponent.

get · iOS 26.2+

port

TypeScript
get port(): (number) | null
Swift declaration
var port: Int?

The port subcomponent.

set · iOS 26.2+

port

TypeScript
set port(value: (number) | null)
Swift declaration
var port: Int?

The port subcomponent.

init · iOS 26.2+

init

TypeScript
static initSchemeHostPortPath(scheme: ASAutoFillURLScope_Scheme, host: string, port?: (number) | null, path?: string): ASAutoFillURLScope
Swift declaration
init(scheme: ASAutoFillURLScope.Scheme = .https, host: String, port: Int? = nil, path: String = "")

Creates a URL components instance

get · iOS 26.2+

scheme

TypeScript
get scheme(): ASAutoFillURLScope_Scheme
Swift declaration
var scheme: ASAutoFillURLScope.Scheme

The scheme subcomponent of the URL.

set · iOS 26.2+

scheme

TypeScript
set scheme(value: ASAutoFillURLScope_Scheme)
Swift declaration
var scheme: ASAutoFillURLScope.Scheme

The scheme subcomponent of the URL.

Skipped declarations

No declarations were skipped in this snapshot.

All AuthenticationServices types →