IAuthorizationClient
Namespace: Meshmakers.Octo.Sdk.ServiceClient.Authorization
Client for access the introspection endpoint of the authorization server.
public interface IAuthorizationClient
Methods
IntrospectApiResource(String, String, String)
Introspect an API resource.
Task<bool> IntrospectApiResource(string accessToken, string apiName, string apiSecret)
Parameters
accessToken String
Access token to use for introspection.
apiName String
Api name to introspect.
apiSecret String
Api secret to use for introspection.
Returns
GetUserInfoAsync(String)
Get user info from the authorization server.
Task<UserInfoData> GetUserInfoAsync(string accessToken)
Parameters
accessToken String
The access token to use for the user info request.