This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IOAuthClients>()
and is defined in Telligent.Evolution.Platform.dll
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
Current | OAuthClient | Gets the OAuthClient for the current authenticated request. Returns null if there is no current OAuthClient. |
Methods
Uri Authorize(Guid clientId, string callbackUrl, string responseType, string scope, string state);
Authorizes a client to use your account for the provided scope. Returns the URL to redirect back to for the client
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
clientId | Guid | Client Id | Required | ||
callbackUrl | string | Callback url | Required | ||
responseType | string | Response type | Required | ||
scope | string | Scope | Required | ||
state | string | State | Required |
Return Type
Uri
OAuthClient Get(Guid clientId);
Gets a OAuth Client
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
clientId | Guid | ClientId | Required |