@@ -562,14 +562,26 @@ def issue_channel_token_by_jwt_with_http_info(self, grant_type : Annotated[Stric
562562 async def issue_stateless_channel_token (self , grant_type : Annotated [StrictStr , Field (..., description = "`client_credentials`" )], client_assertion_type : Annotated [StrictStr , Field (..., description = "URL-encoded value of `urn:ietf:params:oauth:client-assertion-type:jwt-bearer`" )], client_assertion : Annotated [StrictStr , Field (..., description = "A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key." )], client_id : Annotated [StrictStr , Field (..., description = "Channel ID." )], client_secret : Annotated [StrictStr , Field (..., description = "Channel secret." )], ** kwargs ) -> IssueStatelessChannelAccessTokenResponse : # noqa: E501
563563 ...
564564
565+ .. deprecated ::
566+ Use :func :`issue_stateless_channel_token_by_jwt_assertion` or
567+ :func :`issue_stateless_channel_token_by_client_secret` instead .
568+
565569 @overload
566570 def issue_stateless_channel_token (self , grant_type : Annotated [StrictStr , Field (..., description = "`client_credentials`" )], client_assertion_type : Annotated [StrictStr , Field (..., description = "URL-encoded value of `urn:ietf:params:oauth:client-assertion-type:jwt-bearer`" )], client_assertion : Annotated [StrictStr , Field (..., description = "A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key." )], client_id : Annotated [StrictStr , Field (..., description = "Channel ID." )], client_secret : Annotated [StrictStr , Field (..., description = "Channel secret." )], async_req : Optional [bool ]= True , ** kwargs ) -> IssueStatelessChannelAccessTokenResponse : # noqa: E501
567571 ...
568572
573+ .. deprecated ::
574+ Use :func :`issue_stateless_channel_token_by_jwt_assertion` or
575+ :func :`issue_stateless_channel_token_by_client_secret` instead .
576+
569577 @validate_arguments
570578 def issue_stateless_channel_token (self , grant_type : Annotated [StrictStr , Field (..., description = "`client_credentials`" )], client_assertion_type : Annotated [StrictStr , Field (..., description = "URL-encoded value of `urn:ietf:params:oauth:client-assertion-type:jwt-bearer`" )], client_assertion : Annotated [StrictStr , Field (..., description = "A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key." )], client_id : Annotated [StrictStr , Field (..., description = "Channel ID." )], client_secret : Annotated [StrictStr , Field (..., description = "Channel secret." )], async_req : Optional [bool ]= None , ** kwargs ) -> Union [IssueStatelessChannelAccessTokenResponse , Awaitable [IssueStatelessChannelAccessTokenResponse ]]: # noqa: E501
571579 """issue_stateless_channel_token # noqa: E501
572580
581+ .. deprecated::
582+ Use :func:`issue_stateless_channel_token_by_jwt_assertion` or
583+ :func:`issue_stateless_channel_token_by_client_secret` instead.
584+
573585 Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires. # noqa: E501
574586 This method makes a synchronous HTTP request by default. To make an
575587 asynchronous HTTP request, please pass async_req=True
@@ -609,6 +621,10 @@ def issue_stateless_channel_token(self, grant_type : Annotated[StrictStr, Field(
609621 def issue_stateless_channel_token_with_http_info (self , grant_type : Annotated [StrictStr , Field (..., description = "`client_credentials`" )], client_assertion_type : Annotated [StrictStr , Field (..., description = "URL-encoded value of `urn:ietf:params:oauth:client-assertion-type:jwt-bearer`" )], client_assertion : Annotated [StrictStr , Field (..., description = "A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key." )], client_id : Annotated [StrictStr , Field (..., description = "Channel ID." )], client_secret : Annotated [StrictStr , Field (..., description = "Channel secret." )], ** kwargs ) -> ApiResponse : # noqa: E501
610622 """issue_stateless_channel_token # noqa: E501
611623
624+ .. deprecated::
625+ Use :func:`issue_stateless_channel_token_with_http_info_by_jwt_assertion` or
626+ :func:`issue_stateless_channel_token_with_http_info_by_client_secret` instead.
627+
612628 Issues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for 15 minutes but can not be revoked until it naturally expires. # noqa: E501
613629 This method makes a synchronous HTTP request by default. To make an
614630 asynchronous HTTP request, please pass async_req=True
@@ -1378,6 +1394,12 @@ def verify_channel_token_by_jwt_with_http_info(self, access_token : Annotated[St
13781394 _request_auth = _params .get ('_request_auth' ))
13791395
13801396 def issue_stateless_channel_token_by_jwt_assertion (self , client_assertion , ** kwargs ):
1397+ """Issue a stateless channel access token using a JSON Web Token (JWT).
1398+
1399+ :param str client_assertion: A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.
1400+ :return: Returns the result object.
1401+ :rtype: IssueStatelessChannelAccessTokenResponse
1402+ """
13811403 return self .issue_stateless_channel_token (
13821404 grant_type = 'client_credentials' ,
13831405 client_assertion_type = 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer' ,
@@ -1388,6 +1410,13 @@ def issue_stateless_channel_token_by_jwt_assertion(self, client_assertion, **kwa
13881410 )
13891411
13901412 def issue_stateless_channel_token_by_client_secret (self , client_id , client_secret , ** kwargs ):
1413+ """Issue a stateless channel access token using client ID and client secret.
1414+
1415+ :param str client_id: Channel ID.
1416+ :param str client_secret: Channel secret.
1417+ :return: Returns the result object.
1418+ :rtype: IssueStatelessChannelAccessTokenResponse
1419+ """
13911420 return self .issue_stateless_channel_token (
13921421 grant_type = 'client_credentials' ,
13931422 client_assertion_type = '' ,
@@ -1398,6 +1427,12 @@ def issue_stateless_channel_token_by_client_secret(self, client_id, client_secre
13981427 )
13991428
14001429 def issue_stateless_channel_token_with_http_info_by_jwt_assertion (self , client_assertion , ** kwargs ):
1430+ """Issue a stateless channel access token using a JSON Web Token (JWT).
1431+
1432+ :param str client_assertion: A JSON Web Token the client needs to create and sign with the private key of the Assertion Signing Key.
1433+ :return: Returns the result object.
1434+ :rtype: ApiResponse
1435+ """
14011436 return self .issue_stateless_channel_token_with_http_info (
14021437 grant_type = 'client_credentials' ,
14031438 client_assertion_type = 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer' ,
@@ -1408,6 +1443,13 @@ def issue_stateless_channel_token_with_http_info_by_jwt_assertion(self, client_a
14081443 )
14091444
14101445 def issue_stateless_channel_token_with_http_info_by_client_secret (self , client_id , client_secret , ** kwargs ):
1446+ """Issue a stateless channel access token using client ID and client secret.
1447+
1448+ :param str client_id: Channel ID.
1449+ :param str client_secret: Channel secret.
1450+ :return: Returns the result object.
1451+ :rtype: ApiResponse
1452+ """
14111453 return self .issue_stateless_channel_token_with_http_info (
14121454 grant_type = 'client_credentials' ,
14131455 client_assertion_type = '' ,
0 commit comments