@@ -7,37 +7,37 @@ class AccessTokenCreateParams < FinchAPI::Internal::Type::BaseModel
77 extend FinchAPI ::Internal ::Type ::RequestParameters ::Converter
88 include FinchAPI ::Internal ::Type ::RequestParameters
99
10+ # @!attribute code
11+ # The authorization code received from the authorization server
12+ #
13+ # @return [String]
14+ required :code , String
15+
1016 # @!attribute client_id
1117 # The client ID for your application
1218 #
13- # @return [String]
14- required :client_id , String
19+ # @return [String, nil ]
20+ optional :client_id , String
1521
1622 # @!attribute client_secret
1723 # The client secret for your application
1824 #
19- # @return [String]
20- required :client_secret , String
21-
22- # @!attribute code
23- # The authorization code received from the authorization server
24- #
25- # @return [String]
26- required :code , String
25+ # @return [String, nil]
26+ optional :client_secret , String
2727
2828 # @!attribute redirect_uri
2929 # The redirect URI used in the authorization request (optional)
3030 #
3131 # @return [String, nil]
3232 optional :redirect_uri , String
3333
34- # @!method initialize(client_id:, client_secret:, code:, redirect_uri: nil, request_options: {})
34+ # @!method initialize(code:, client_id: nil, client_secret: nil, redirect_uri: nil, request_options: {})
35+ # @param code [String] The authorization code received from the authorization server
36+ #
3537 # @param client_id [String] The client ID for your application
3638 #
3739 # @param client_secret [String] The client secret for your application
3840 #
39- # @param code [String] The authorization code received from the authorization server
40- #
4141 # @param redirect_uri [String] The redirect URI used in the authorization request (optional)
4242 #
4343 # @param request_options [FinchAPI::RequestOptions, Hash{Symbol=>Object}]
0 commit comments