Tizen/a>.Account.OAuth2/a>/nAssembly:Tizen.Account.OAuth2.dll/nThe ClientCredentialsAuthorizer is used to obtain access tokens using Client Credentials Grant flow as described at <a href=https://samsungtizenos.com/"https:////tools.ietf.org//html//rfc6749#section-4.4\">https:\/\/tools.ietf.org\/html\/rfc6749#section-4.4<\/a><\/p>\n<pre class=\"shiki shiki-themes github-light github-dark\" style=\"background-color:#fff;--shiki-dark-bg:#24292e;color:#24292e;--shiki-dark:#e1e4e8;\"><code><span class=\"line\"><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">[<\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">Obsolete<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">]<\/span><\/span>\n<span class=\"line\"><span style=\"color:#D73A49;--shiki-dark:#F97583\">public<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\">class<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#6F42C1;--shiki-dark:#B392F0\">ClientCredentialsAuthorizer<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> : Authorizer, IDisposable<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre>\n<p>Inheritance<\/p>\n<p>object\n<a href=https://samsungtizenos.com/"Tizen.Account.OAuth2.Authorizer.md/">Authorizer/a>/nClientCredentialsAuthorizer/p>/nAuthorizationRequest/a>/td>/n
Implements/p>/n
System.IDisposable/p>/n
AuthorizationRequest/a>/td>/nrequest/td>/n /td>/n/tr>/n/tbody>/n/table>/div>/nAuthorizationResponse/a>>/td>/n/td>/n/tr>/n/tbody>/n/table>/div>/nTokenRequest/a>/td>/nrequest/td>/n The token request <a href=https://samsungtizenos.com/"Tizen.Account.OAuth2.ClientCredentialsTokenRequest.md/">ClientCredentialsTokenRequest/a>/td>/n/tr>/n/tbody>/n/table>/div>/nTokenResponse/a>>/td>/nThe response containing access token.<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<h5 id=\"content-exceptions-1\"><a href=https://samsungtizenos.com/"#content-exceptions-1\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>Exceptions<\/h5>\n<div class=\"overflow-auto grid table-fixed\" data-table-container=\"data-table-container\"><table>\n<thead>\n<tr>\n<th>Type<\/th>\n<th>Condition<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>System.ArgumentException<\/td>\n<td>Thrown when method failed due to invalid argumets<\/td>\n<\/tr>\n<tr>\n<td><a href=https://samsungtizenos.com/"Tizen.Account.OAuth2.OAuth2Exception.md/">OAuth2Exception/a>/td>/n Thrown when method fails due to server error<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p><a href=https://samsungtizenos.com/"https:////github.com//Samsung//TizenFX//blob//main//src//Tizen.Account.OAuth2//Tizen.Account.OAuth2//ClientCredentialsAuthorizer.cs//#L57\">View Source<\/a><\/p>\n<h4 id=\"content-refreshaccesstokenasyncrefreshtokenrequest\"><a href=https://samsungtizenos.com/"#content-refreshaccesstokenasyncrefreshtokenrequest\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>RefreshAccessTokenAsync(RefreshTokenRequest)<\/h4>\n<p>Refreshing access token is not supported in this flow.<\/p>\n<h5 id=\"content-declaration-3\"><a href=https://samsungtizenos.com/"#content-declaration-3\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>Declaration<\/h5>\n<pre class=\"shiki shiki-themes github-light github-dark\" style=\"background-color:#fff;--shiki-dark-bg:#24292e;color:#24292e;--shiki-dark:#e1e4e8;\"><code><span class=\"line\"><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">[<\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">Obsolete<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">]<\/span><\/span>\n<span class=\"line\"><span style=\"color:#D73A49;--shiki-dark:#F97583\">public<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">override<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">Task<\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\"><<\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">TokenResponse<\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\">><\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#6F42C1;--shiki-dark:#B392F0\">RefreshAccessTokenAsync<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">(<\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">RefreshTokenRequest<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">request<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">)<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre>\n<h5 id=\"content-parameters-2\"><a href=https://samsungtizenos.com/"#content-parameters-2\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>Parameters<\/h5>\n<div class=\"overflow-auto grid table-fixed\" data-table-container=\"data-table-container\"><table>\n<thead>\n<tr>\n<th>Type<\/th>\n<th>Name<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><a href=https://samsungtizenos.com/"Tizen.Account.OAuth2.RefreshTokenRequest.md/">RefreshTokenRequest/a>/td>/n request/td>/n /td>/n/tr>/n/tbody>/n/table>/div>/nTokenResponse/a>>/td>/n/td>/n/tr>/n/tbody>/n/table>/div>/n
We use cookies to ensure the proper functioning of our site, to remember your preferences (such as global messages and release notes), and to analyze traffic. You can change your preferences at any time.
Read our cookie & privacy policy
Public Forum
Public Forum
Employees only. Please sign in with your company account.
AuthorizationResponse/a>>/td>/n/td>/n/tr>/n/tbody>/n/table>/div>/nTokenRequest/a>/td>/nrequest/td>/n The token request <a href=https://samsungtizenos.com/"Tizen.Account.OAuth2.ClientCredentialsTokenRequest.md/">ClientCredentialsTokenRequest/a>/td>/n/tr>/n/tbody>/n/table>/div>/nTokenResponse/a>>/td>/nThe response containing access token.<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<h5 id=\"content-exceptions-1\"><a href=https://samsungtizenos.com/"#content-exceptions-1\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>Exceptions<\/h5>\n<div class=\"overflow-auto grid table-fixed\" data-table-container=\"data-table-container\"><table>\n<thead>\n<tr>\n<th>Type<\/th>\n<th>Condition<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>System.ArgumentException<\/td>\n<td>Thrown when method failed due to invalid argumets<\/td>\n<\/tr>\n<tr>\n<td><a href=https://samsungtizenos.com/"Tizen.Account.OAuth2.OAuth2Exception.md/">OAuth2Exception/a>/td>/n Thrown when method fails due to server error<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p><a href=https://samsungtizenos.com/"https:////github.com//Samsung//TizenFX//blob//main//src//Tizen.Account.OAuth2//Tizen.Account.OAuth2//ClientCredentialsAuthorizer.cs//#L57\">View Source<\/a><\/p>\n<h4 id=\"content-refreshaccesstokenasyncrefreshtokenrequest\"><a href=https://samsungtizenos.com/"#content-refreshaccesstokenasyncrefreshtokenrequest\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>RefreshAccessTokenAsync(RefreshTokenRequest)<\/h4>\n<p>Refreshing access token is not supported in this flow.<\/p>\n<h5 id=\"content-declaration-3\"><a href=https://samsungtizenos.com/"#content-declaration-3\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>Declaration<\/h5>\n<pre class=\"shiki shiki-themes github-light github-dark\" style=\"background-color:#fff;--shiki-dark-bg:#24292e;color:#24292e;--shiki-dark:#e1e4e8;\"><code><span class=\"line\"><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">[<\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">Obsolete<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">]<\/span><\/span>\n<span class=\"line\"><span style=\"color:#D73A49;--shiki-dark:#F97583\">public<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">override<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">Task<\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\"><<\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">TokenResponse<\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\">><\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#6F42C1;--shiki-dark:#B392F0\">RefreshAccessTokenAsync<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">(<\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">RefreshTokenRequest<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">request<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">)<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre>\n<h5 id=\"content-parameters-2\"><a href=https://samsungtizenos.com/"#content-parameters-2\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>Parameters<\/h5>\n<div class=\"overflow-auto grid table-fixed\" data-table-container=\"data-table-container\"><table>\n<thead>\n<tr>\n<th>Type<\/th>\n<th>Name<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><a href=https://samsungtizenos.com/"Tizen.Account.OAuth2.RefreshTokenRequest.md/">RefreshTokenRequest/a>/td>/n request/td>/n /td>/n/tr>/n/tbody>/n/table>/div>/nTokenResponse/a>>/td>/n/td>/n/tr>/n/tbody>/n/table>/div>/n
We use cookies to ensure the proper functioning of our site, to remember your preferences (such as global messages and release notes), and to analyze traffic. You can change your preferences at any time.
Read our cookie & privacy policy
Public Forum
Public Forum
Employees only. Please sign in with your company account.
TokenRequest/a>/td>/nrequest/td>/n The token request <a href=https://samsungtizenos.com/"Tizen.Account.OAuth2.ClientCredentialsTokenRequest.md/">ClientCredentialsTokenRequest/a>/td>/n/tr>/n/tbody>/n/table>/div>/nTokenResponse/a>>/td>/nThe response containing access token.<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<h5 id=\"content-exceptions-1\"><a href=https://samsungtizenos.com/"#content-exceptions-1\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>Exceptions<\/h5>\n<div class=\"overflow-auto grid table-fixed\" data-table-container=\"data-table-container\"><table>\n<thead>\n<tr>\n<th>Type<\/th>\n<th>Condition<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>System.ArgumentException<\/td>\n<td>Thrown when method failed due to invalid argumets<\/td>\n<\/tr>\n<tr>\n<td><a href=https://samsungtizenos.com/"Tizen.Account.OAuth2.OAuth2Exception.md/">OAuth2Exception/a>/td>/n Thrown when method fails due to server error<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p><a href=https://samsungtizenos.com/"https:////github.com//Samsung//TizenFX//blob//main//src//Tizen.Account.OAuth2//Tizen.Account.OAuth2//ClientCredentialsAuthorizer.cs//#L57\">View Source<\/a><\/p>\n<h4 id=\"content-refreshaccesstokenasyncrefreshtokenrequest\"><a href=https://samsungtizenos.com/"#content-refreshaccesstokenasyncrefreshtokenrequest\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>RefreshAccessTokenAsync(RefreshTokenRequest)<\/h4>\n<p>Refreshing access token is not supported in this flow.<\/p>\n<h5 id=\"content-declaration-3\"><a href=https://samsungtizenos.com/"#content-declaration-3\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>Declaration<\/h5>\n<pre class=\"shiki shiki-themes github-light github-dark\" style=\"background-color:#fff;--shiki-dark-bg:#24292e;color:#24292e;--shiki-dark:#e1e4e8;\"><code><span class=\"line\"><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">[<\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">Obsolete<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">]<\/span><\/span>\n<span class=\"line\"><span style=\"color:#D73A49;--shiki-dark:#F97583\">public<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">override<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">Task<\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\"><<\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">TokenResponse<\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\">><\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#6F42C1;--shiki-dark:#B392F0\">RefreshAccessTokenAsync<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">(<\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">RefreshTokenRequest<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">request<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">)<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre>\n<h5 id=\"content-parameters-2\"><a href=https://samsungtizenos.com/"#content-parameters-2\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>Parameters<\/h5>\n<div class=\"overflow-auto grid table-fixed\" data-table-container=\"data-table-container\"><table>\n<thead>\n<tr>\n<th>Type<\/th>\n<th>Name<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><a href=https://samsungtizenos.com/"Tizen.Account.OAuth2.RefreshTokenRequest.md/">RefreshTokenRequest/a>/td>/n request/td>/n /td>/n/tr>/n/tbody>/n/table>/div>/nTokenResponse/a>>/td>/n/td>/n/tr>/n/tbody>/n/table>/div>/n
We use cookies to ensure the proper functioning of our site, to remember your preferences (such as global messages and release notes), and to analyze traffic. You can change your preferences at any time.
Read our cookie & privacy policy
Public Forum
Public Forum
Employees only. Please sign in with your company account.
TokenResponse/a>>/td>/nThe response containing access token.<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<h5 id=\"content-exceptions-1\"><a href=https://samsungtizenos.com/"#content-exceptions-1\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>Exceptions<\/h5>\n<div class=\"overflow-auto grid table-fixed\" data-table-container=\"data-table-container\"><table>\n<thead>\n<tr>\n<th>Type<\/th>\n<th>Condition<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>System.ArgumentException<\/td>\n<td>Thrown when method failed due to invalid argumets<\/td>\n<\/tr>\n<tr>\n<td><a href=https://samsungtizenos.com/"Tizen.Account.OAuth2.OAuth2Exception.md/">OAuth2Exception/a>/td>/n Thrown when method fails due to server error<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p><a href=https://samsungtizenos.com/"https:////github.com//Samsung//TizenFX//blob//main//src//Tizen.Account.OAuth2//Tizen.Account.OAuth2//ClientCredentialsAuthorizer.cs//#L57\">View Source<\/a><\/p>\n<h4 id=\"content-refreshaccesstokenasyncrefreshtokenrequest\"><a href=https://samsungtizenos.com/"#content-refreshaccesstokenasyncrefreshtokenrequest\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>RefreshAccessTokenAsync(RefreshTokenRequest)<\/h4>\n<p>Refreshing access token is not supported in this flow.<\/p>\n<h5 id=\"content-declaration-3\"><a href=https://samsungtizenos.com/"#content-declaration-3\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>Declaration<\/h5>\n<pre class=\"shiki shiki-themes github-light github-dark\" style=\"background-color:#fff;--shiki-dark-bg:#24292e;color:#24292e;--shiki-dark:#e1e4e8;\"><code><span class=\"line\"><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">[<\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">Obsolete<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">]<\/span><\/span>\n<span class=\"line\"><span style=\"color:#D73A49;--shiki-dark:#F97583\">public<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">override<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">Task<\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\"><<\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">TokenResponse<\/span><span style=\"color:#D73A49;--shiki-dark:#F97583\">><\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#6F42C1;--shiki-dark:#B392F0\">RefreshAccessTokenAsync<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">(<\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">RefreshTokenRequest<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\"> <\/span><span style=\"color:#005CC5;--shiki-dark:#79B8FF\">request<\/span><span style=\"color:#24292E;--shiki-dark:#E1E4E8\">)<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre>\n<h5 id=\"content-parameters-2\"><a href=https://samsungtizenos.com/"#content-parameters-2\" class=\"heading-permalink\" aria-hidden=\"true\" title=\"Permalink\">\u00b6<\/a>Parameters<\/h5>\n<div class=\"overflow-auto grid table-fixed\" data-table-container=\"data-table-container\"><table>\n<thead>\n<tr>\n<th>Type<\/th>\n<th>Name<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><a href=https://samsungtizenos.com/"Tizen.Account.OAuth2.RefreshTokenRequest.md/">RefreshTokenRequest/a>/td>/n request/td>/n /td>/n/tr>/n/tbody>/n/table>/div>/nTokenResponse/a>>/td>/n/td>/n/tr>/n/tbody>/n/table>/div>/n
We use cookies to ensure the proper functioning of our site, to remember your preferences (such as global messages and release notes), and to analyze traffic. You can change your preferences at any time.
Read our cookie & privacy policy
Public Forum
Public Forum
Employees only. Please sign in with your company account.
TokenResponse/a>>/td>/n/td>/n/tr>/n/tbody>/n/table>/div>/n
We use cookies to ensure the proper functioning of our site, to remember your preferences (such as global messages and release notes), and to analyze traffic. You can change your preferences at any time.
Read our cookie & privacy policy
Public Forum
Public Forum
Employees only. Please sign in with your company account.
We use cookies to ensure the proper functioning of our site, to remember your preferences (such as global messages and release notes), and to analyze traffic. You can change your preferences at any time.
Read our cookie & privacy policy
Public Forum
Public Forum
Employees only. Please sign in with your company account.
We use cookies to ensure the proper functioning of our site, to remember your preferences (such as global messages and release notes), and to analyze traffic. You can change your preferences at any time. Read our cookie & privacy policy
Public Forum
Public Forum
Employees only. Please sign in with your company account.