---
title: "init(identifier:type:displayName:)"
framework: authenticationservices
role: symbol
role_heading: Initializer
path: "authenticationservices/ascredentialserviceidentifier/init(identifier:type:displayname:)"
---

# init(identifier:type:displayName:)

Initializes an ASCredentialServiceIdentifier object.

## Declaration

```swift
init(identifier: String, type: ASCredentialServiceIdentifier.IdentifierType, displayName: String)
```

## Parameters

- `identifier`: The string value for the service identifier.
- `type`: The type that the service identifier string represents.
- `displayName`: A user visible name that describes the service.
