TsgcHTTP_OAuth2_Server › Methods
Public methods grouped by purpose, followed by the full alphabetical list.
| Name | Description |
|---|---|
| AddToken | Pre-seeds an access/refresh token pair into the server token store for a registered application. |
| RemoveToken | Revokes a specific access token previously issued by the server. |
| RemoveTokenByRefreshToken | Revokes the token pair identified by its refresh token value. |
| IsOAuth2TokenValid | Validates an incoming Bearer access token presented by the client, either by parsing the request headers or by taking the raw token string. |
| IsOAuth2Unauthorized | Checks whether a request on the given connection must be rejected with an OAuth 2.0 unauthorized response. |
| Name | Description |
|---|---|
| RegisterApp | Registers a new OAuth 2.0 client application on the server and returns its generated credentials. |
| UnRegisterApp | Removes a previously registered OAuth 2.0 client application from the server. |
| Name | Description |
|---|---|
| RegisterProvider | Registers an external identity provider (Google, GitHub, Microsoft, etc.) so the server can delegate federated sign-in to it. |
| UnRegisterProvider | Removes a previously registered external identity provider from the server. |
| ClearProviders | Removes every external identity provider registered in the server federation list. |
| Name | Description |
|---|---|
| DoProcessHTTP | Main HTTP request pipeline hook that dispatches OAuth 2.0 protocol endpoints on the server. |
| Name | Description |
|---|---|
| AddToken | Pre-seeds an access/refresh token pair into the server token store for a registered application. |
| ClearProviders | Removes every external identity provider registered in the server federation list. |
| DoProcessHTTP | Main HTTP request pipeline hook that dispatches OAuth 2.0 protocol endpoints on the server. |
| IsOAuth2TokenValid | Validates an incoming Bearer access token presented by the client, either by parsing the request headers or by taking the raw token string. |
| IsOAuth2Unauthorized | Checks whether a request on the given connection must be rejected with an OAuth 2.0 unauthorized response. |
| RegisterApp | Registers a new OAuth 2.0 client application on the server and returns its generated credentials. |
| RegisterProvider | Registers an external identity provider (Google, GitHub, Microsoft, etc.) so the server can delegate federated sign-in to it. |
| RemoveToken | Revokes a specific access token previously issued by the server. |
| RemoveTokenByRefreshToken | Revokes the token pair identified by its refresh token value. |
| UnRegisterApp | Removes a previously registered OAuth 2.0 client application from the server. |
| UnRegisterProvider | Removes a previously registered external identity provider from the server. |