CloudFunctionsCredentials

public struct CloudFunctionsCredentials

Contains the credentials for a Cloud Functions instance. You will typically receive an instance of this type through cloudEnv.getCloudFunctionsCredentials(name: String).

Reference Cloud Functions.

  • Cloud Functions host name.

    Declaration

    Swift

    public let hostName: String
  • URL path to the Cloud Functions action.

    Declaration

    Swift

    public let urlPath: String
  • The base64 encoded auth token.

    Declaration

    Swift

    public let authToken: String
  • Initializes an instance of the Cloud Functions service credentials.

    Declaration

    Swift

    public init(hostName: String, urlPath: String, authToken: String)