IamTokenRequest

public struct IamTokenRequest : Codable
    • Default: “client_credentials”

    Declaration

    Swift

    public let grantType: String
    • Example: 32ddc8e8-0e9f-4952-b970-61a0b4e4ee59

    Declaration

    Swift

    public let clientID: String
    • Example: ZYDPLLBWSK3MVQJSIYHB1OR2JXCY0X2C5UJ2QAR2MAAIT5Q

    Declaration

    Swift

    public let clientSecret: String
  • Declaration

    Swift

    public init(grantType: String = "client_credentials",
                clientID: String,
                clientSecret: String)