Class: Aws::Appflow::Types::OAuthCredentials
- Inherits:
-
Struct
- Object
- Struct
- Aws::Appflow::Types::OAuthCredentials
- Defined in:
- gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb
Overview
When making an API call, you may pass OAuthCredentials data as a hash:
{
client_id: "ClientId", # required
client_secret: "ClientSecret", # required
access_token: "AccessToken",
refresh_token: "RefreshToken",
o_auth_request: {
auth_code: "AuthCode",
redirect_uri: "RedirectUri",
},
}
The OAuth credentials required for OAuth type authentication.
Constant Summary collapse
- SENSITIVE =
[:client_secret, :access_token]
Instance Attribute Summary collapse
-
#access_token ⇒ String
The access token used to access protected SAPOData resources.
-
#client_id ⇒ String
The identifier for the desired client.
-
#client_secret ⇒ String
The client secret used by the OAuth client to authenticate to the authorization server.
-
#o_auth_request ⇒ Types::ConnectorOAuthRequest
The OAuth requirement needed to request security tokens from the connector endpoint.
-
#refresh_token ⇒ String
The refresh token used to refresh expired access token.
Instance Attribute Details
#access_token ⇒ String
The access token used to access protected SAPOData resources.
4810 4811 4812 4813 4814 4815 4816 4817 4818 |
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 4810 class OAuthCredentials < Struct.new( :client_id, :client_secret, :access_token, :refresh_token, :o_auth_request) SENSITIVE = [:client_secret, :access_token] include Aws::Structure end |
#client_id ⇒ String
The identifier for the desired client.
4810 4811 4812 4813 4814 4815 4816 4817 4818 |
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 4810 class OAuthCredentials < Struct.new( :client_id, :client_secret, :access_token, :refresh_token, :o_auth_request) SENSITIVE = [:client_secret, :access_token] include Aws::Structure end |
#client_secret ⇒ String
The client secret used by the OAuth client to authenticate to the authorization server.
4810 4811 4812 4813 4814 4815 4816 4817 4818 |
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 4810 class OAuthCredentials < Struct.new( :client_id, :client_secret, :access_token, :refresh_token, :o_auth_request) SENSITIVE = [:client_secret, :access_token] include Aws::Structure end |
#o_auth_request ⇒ Types::ConnectorOAuthRequest
The OAuth requirement needed to request security tokens from the connector endpoint.
4810 4811 4812 4813 4814 4815 4816 4817 4818 |
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 4810 class OAuthCredentials < Struct.new( :client_id, :client_secret, :access_token, :refresh_token, :o_auth_request) SENSITIVE = [:client_secret, :access_token] include Aws::Structure end |
#refresh_token ⇒ String
The refresh token used to refresh expired access token.
4810 4811 4812 4813 4814 4815 4816 4817 4818 |
# File 'gems/aws-sdk-appflow/lib/aws-sdk-appflow/types.rb', line 4810 class OAuthCredentials < Struct.new( :client_id, :client_secret, :access_token, :refresh_token, :o_auth_request) SENSITIVE = [:client_secret, :access_token] include Aws::Structure end |