---
title: "init(url:)"
framework: authenticationservices
role: symbol
role_heading: Initializer
path: "authenticationservices/asautofillurlscope/init(url:)"
---

# init(url:)

Initialize with the components of a URL.

## Declaration

```swift
init?(url: URL)
```

## Parameters

- `url`: The URL to expand.

## Discussion

Discussion If the url string from the URL is malformed, nil is returned.
