Contents

VSAccountProviderAuthenticationScheme

Authentication schemes for account provider requests and responses.

Declaration

struct VSAccountProviderAuthenticationScheme

Discussion

If the minimum version your app supports is outside the availability of the VSAccountProviderAuthenticationScheme values, you must create an authentication scheme value using the raw string.

let request = VSAccountMetadataRequest()
// ...
if #available(iOS 13.0, *) {
  request.supportedAuthenticationSchemes = [.api]
} else {
  request.supportedAuthenticationSchemes = [VSAccountProviderAuthenticationScheme("API")]
}

The following table shows the raw strings for the VSAccountProviderAuthenticationScheme values.

Scheme

Raw Value

saml

“SAML”

api

“API”

Topics

Creating an Authentication Scheme

Authentication Scheme Types

See Also

Enqueuing requests