GET api/v1/infrastructure/{practiceId}/tokenproviders/{type}
Get access token for specific provider (by provider name - signalr, practice_signalr, etc)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
practiceId | globally unique identifier |
Required |
|
type | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Com.Healthbridge.Hhas.Cloud.WebRole.Areas.Infrastructure.RestControllers.TokenProviderVoName | Description | Type | Additional information |
---|---|---|---|
Token | string |
None. |
|
Scope | string |
None. |
|
ServiceUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Token": "sample string 1", "Scope": "sample string 2", "ServiceUrl": "sample string 3" }
application/xml, text/xml
Sample:
<TokenProviderVo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Cloud.WebRole.Areas.Infrastructure.RestControllers"> <Scope>sample string 2</Scope> <ServiceUrl>sample string 3</ServiceUrl> <Token>sample string 1</Token> </TokenProviderVo>