# `Chatto.Auth.V1.ExternalIdentityAuthService`
[🔗](https://github.com/xtian/elixir-chatto/blob/v0.1.0/lib/chatto/generated/chatto_auth_v1_external_identity_auth_service.ex#L3)

Public external identity authentication operations.

# `cancel_external_identity_flow`

```elixir
@spec cancel_external_identity_flow(
  Req.Request.t(),
  Chatto.Auth.V1.CancelExternalIdentityFlowRequest.t()
) ::
  {:ok, Chatto.Auth.V1.CancelExternalIdentityFlowResponse.t()}
  | {:error, Chatto.Connect.Error.t()}
```

Cancels a pending provider identity flow. This public RPC requires a valid
pending-flow capability token.

# `confirm_external_identity_link`

```elixir
@spec confirm_external_identity_link(
  Req.Request.t(),
  Chatto.Auth.V1.ConfirmExternalIdentityLinkRequest.t()
) ::
  {:ok, Chatto.Auth.V1.ConfirmExternalIdentityLinkResponse.t()}
  | {:error, Chatto.Connect.Error.t()}
```

Links a provider identity using a pending link-flow capability token. This
public RPC requires a valid link-flow capability token.

# `create_external_identity_account`

```elixir
@spec create_external_identity_account(
  Req.Request.t(),
  Chatto.Auth.V1.CreateExternalIdentityAccountRequest.t()
) ::
  {:ok, Chatto.Auth.V1.CreateExternalIdentityAccountResponse.t()}
  | {:error, Chatto.Connect.Error.t()}
```

Creates a passwordless account from a pending provider identity. This
public RPC requires a valid create-flow capability token.

# `get_pending_external_identity`

```elixir
@spec get_pending_external_identity(
  Req.Request.t(),
  Chatto.Auth.V1.GetPendingExternalIdentityRequest.t()
) ::
  {:ok, Chatto.Auth.V1.GetPendingExternalIdentityResponse.t()}
  | {:error, Chatto.Connect.Error.t()}
```

Reads safe metadata for a pending create/link flow. This public RPC
requires a valid pending-flow capability token and returns NOT_FOUND when
the token is unknown or expired. Returns FAILED_PRECONDITION when a managed
provider username cannot be assigned; the user must contact the operator.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
