Method GetOpenIdLogoffUrl
GetOpenIdLogoffUrl(String)
Returns openId logoff url
Declaration
string GetOpenIdLogoffUrl(string connectionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
Returns
Type | Description |
---|---|
System.String |
Remarks
- Connection will be automatically closed after the defined idle timeout (default: 10 minutes). See also ConnectionTimeoutSeconds
Examples
POST https://YourServerName/InfoShare/Json/Authentication/GetOpenIdLogoffUrl
Example for a openId logoff url for a given connectionId.{
"connectionId": "6bc655a4-c079-4535-a733-f259e3232a3a"
}
Response:
{
"GetOpenIdLogoffUrlResult":"https://login.microsoftonline.com/17e0252a-c946-49c3-b18b-4609f1e4140d/oauth2/v2.0/logout?id_token_hint=KzQtlq8ZajvmBnJ7alWIEmNcBs7nuHJhz5FF7flOCh8&post_logout_redirect_uri=http%3A%2F%2Flocalhost%2FMobileWebClient%2Fapi%2Fapplication%2Fredirecttologincode"
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |