Class: Aws::SSOOIDC::Types::InvalidGrantException

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ssooidc/types.rb

Overview

Indicates that a request contains an invalid grant. This can occur if a client makes a CreateToken request with an invalid grant type.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Method Summary

Methods included from Aws::Structure

#empty?, included, #initialize, #key?, new, #to_h, #to_s

Instance Attribute Details

#errorString

Single error code. For this exception the value will be ‘invalid_grant`.

Returns:

  • (String)


463
464
465
466
467
468
# File 'lib/aws-sdk-ssooidc/types.rb', line 463

class InvalidGrantException < Struct.new(
  :error,
  :error_description)
  SENSITIVE = []
  include Aws::Structure
end

#error_descriptionString

Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.

Returns:

  • (String)


463
464
465
466
467
468
# File 'lib/aws-sdk-ssooidc/types.rb', line 463

class InvalidGrantException < Struct.new(
  :error,
  :error_description)
  SENSITIVE = []
  include Aws::Structure
end