SudoUserClientConfigProvider

public struct SudoUserClientConfigProvider : AWSAppSyncServiceConfigProvider

AWSAppSyncServiceConfigProvider implementation that converts Sudo platform configuration to AWS AppSync configuration.

  • Declaration

    Swift

    public let clientDatabasePrefix: String?
  • Declaration

    Swift

    public let endpoint: URL
  • Declaration

    Swift

    public let region: AWSRegionType
  • Declaration

    Swift

    public let authType: AWSAppSyncAuthType
  • Declaration

    Swift

    public let apiKey: String?
  • Initializes SudoUserClientConfigProvider with the API endpoint URL and AWS region type.

    Declaration

    Swift

    public init(endpoint: URL, region: AWSRegionType)

    Parameters

    endpoint

    URL for the identity service’s GraphQL API endpoint.

    region

    AWS region.

  • Initializes SudoUserClientConfigProvider with the API endpoint URL and AWS region type.

    Declaration

    Swift

    public init?(config: [String : Any])

    Parameters

    config

    Configuration parameters for Sudo Identity Service GraphQL API endpoint.