Authlete
AuthleteApi Class Reference

An implementation of the IAuthleteApi interface. More...

Inheritance diagram for AuthleteApi:
IAuthleteApi

Public Member Functions

 AuthleteApi (IAuthleteConfiguration configuration)
 Constructor with configuration. More...
 
async Task< AuthorizationResponseAuthorization (AuthorizationRequest request)
 Call Authlete's /api/auth/authorization API.
 
async Task< AuthorizationFailResponseAuthorizationFail (AuthorizationFailRequest request)
 Call Authlete's /api/auth/authorization/fail API.
 
async Task< AuthorizationIssueResponseAuthorizationIssue (AuthorizationIssueRequest request)
 Call Authlete's /api/auth/authorization/issue API.
 
async Task< TokenResponseToken (TokenRequest request)
 Call Authlete's /api/auth/token API.
 
async Task< TokenCreateResponseTokenCreate (TokenCreateRequest request)
 Call Authlete's /api/auth/token/create API.
 
async Task< object > TokenDelete (string token)
 Delete an access token (= call Authlete's /api/auth/token/delete/{token} API).
 
async Task< TokenFailResponseTokenFail (TokenFailRequest request)
 Call Authlete's /api/auth/token/fail API.
 
async Task< TokenIssueResponseTokenIssue (TokenIssueRequest request)
 Call Authlete's /api/auth/token/issue API.
 
async Task< TokenUpdateResponseTokenUpdate (TokenUpdateRequest request)
 Call Authlete's /api/auth/token/update API.
 
async Task< RevocationResponseRevocation (RevocationRequest request)
 Call Authlete's /api/auth/revocation API.
 
async Task< UserInfoResponseUserInfo (UserInfoRequest request)
 Call Authlete's /api/auth/userinfo API.
 
async Task< UserInfoIssueResponseUserInfoIssue (UserInfoIssueRequest request)
 Call Authlete's /api/auth/userinfo/issue API.
 
async Task< IntrospectionResponseIntrospection (IntrospectionRequest request)
 Call Authlete's /api/auth/introspection API.
 
async Task< StandardIntrospectionResponseStandardIntrospection (StandardIntrospectionRequest request)
 Call Authlete's /api/auth/introspection/standard API.
 
async Task< ServiceCreateService (Service service)
 Create a service (= call Authlete's /api/service/create API).
 
async Task< object > DeleteService (long apiKey)
 Delete a service (call Authlete's /api/service/delete/{apiKey} API).
 
async Task< ServiceGetService (long apiKey)
 Get information about a service (= call Authlete's /api/service/get/{apiKey} API).
 
async Task< ServiceListResponseGetServiceList ()
 Get a list of services that belong to the service owner (= call Authlete's /api/service/get/list API).
 
async Task< ServiceListResponseGetServiceList (int start, int end)
 Get a list of services that belong to the service owner (= call Authlete's /api/service/get/list API).
 
async Task< ServiceUpdateService (Service service)
 Update a service (= call Authlete's /api/service/update/{apiKey} API).
 
async Task< string > GetServiceJwks ()
 Get the JWK Set of a service (= call Authlete's /api/service/jwks/get API).
 
async Task< string > GetServiceJwks (bool pretty, bool includePrivateKeys)
 Get the JWK Set of a service (= call Authlete's /api/service/jwks/get API).
 
async Task< string > GetServiceConfiguration ()
 Get the configuration of the service in JSON format that complies with OpenID Connect Discovery 1.0.
 
async Task< string > GetServiceConfiguration (bool pretty)
 Get the configuration of the service in JSON format that complies with OpenID Connect Discovery 1.0 (= call Authlete's /api/service/configuration API).
 
async Task< ClientCreateClient (Client client)
 Create a client (= call Authlete's /api/client/create API).
 
async Task< object > DeleteClient (long clientId)
 Delete a client (= call Authlete's /api/client/delete/{clientId} API).
 
async Task< ClientGetClient (long clientId)
 Get information about a client (= call Authlete's /api/client/get/{clientId} API).
 
async Task< ClientListResponseGetClientList ()
 Get a list of clients that belong to the service (= call Authlete's /api/client/get/list API).
 
async Task< ClientListResponseGetClientList (string developer)
 Get a list of clients that belong to the developer (= call Authlete's /api/client/get/list API).
 
async Task< ClientListResponseGetClientList (int start, int end)
 Get a list of clients that belong to the service (= call Authlete's /api/client/get/list API).
 
async Task< ClientListResponseGetClientList (string developer, int start, int end)
 Get a list of clients (= call Authlete's /api/client/get/list API).
 
async Task< ClientUpdateClient (Client client)
 Update a client (= call Authlete's /api/client/update/{clientId} API).
 
async Task< GrantedScopesGetResponseGetGrantedScopes (long clientId, string subject)
 Get the set of scopes that an end-user has granted to a client application (= call Authlete's /api/client/granted_scopes/get/{clientId} API).
 
async Task< ApiResponseDeleteGrantedScopes (long clientId, string subject)
 Delete DB records about the set of scopes that an end-user has granted to a client application (= call Authlete's /api/client/granted_scopes/delete/{clientId} API).
 
async Task< ApiResponseDeleteClientAuthorization (long clientId, string subject)
 Delete all existing access tokens issued to the client application by the end-user (= call Authlete's /api/client/authorization/delete/{clientId} API).
 
async Task< AuthorizedClientListResponseGetClientAuthorizationList (ClientAuthorizationGetListRequest request)
 Get the list of client applications authorized by the end-user (= call Authlete's /api/client/authorization/get/list API).
 
async Task< ApiResponseUpdateClientAuthorization (long clientId, ClientAuthorizationUpdateRequest request)
 Update attributes of all existing access tokens issued to the client application by the end-user (= call Authlete's /api/client/authorization/update/{clientId} API).
 
async Task< ClientSecretRefreshResponseRefreshClientSecret (long clientId)
 Refresh the client secret of a client (= call Authlete's /api/client/secret/refresh/{clientId} API). A new value of the client secret will be generated by the Authlete server. If you want to specify a new value, use UpdateClientSecret method.
 
async Task< ClientSecretRefreshResponseRefreshClientSecret (string clientIdentifier)
 Refresh the client secret of a client (= call Authlete's /api/client/secret/refresh/{clientId} API). A new value of the client secret will be generated by the Authlete server. If you want to specify a new value, use UpdateClientSecret method.
 
async Task< ClientSecretUpdateResponseUpdateClientSecret (long clientId, string clientSecret)
 Update the client secret of a client (= call Authlete's /api/client/secret/update/{clientId} API). If you want to have the Authlete server generate a new value of the client secret, use RefreshClientSecret method.
 
async Task< ClientSecretUpdateResponseUpdateClientSecret (string clientIdentifier, string clientSecret)
 Update the client secret of a client (= call Authlete's /api/client/secret/update/{clientId} API). If you want to have the Authlete server generate a new value of the client secret, use RefreshClientSecret method.
 
async Task< BackchannelAuthenticationResponseBackchannelAuthentication (BackchannelAuthenticationRequest request)
 Call Authlete's /api/backchannel/authentication API.
 
async Task< BackchannelAuthenticationIssueResponseBackchannelAuthenticationIssue (BackchannelAuthenticationIssueRequest request)
 Call Authlete's /api/backchannel/authentication/issue API.
 
async Task< BackchannelAuthenticationFailResponseBackchannelAuthenticationFail (BackchannelAuthenticationFailRequest request)
 Call Authlete's /api/backchannel/authentication/fail API.
 
async Task< BackchannelAuthenticationCompleteResponseBackchannelAuthenticationComplete (BackchannelAuthenticationCompleteRequest request)
 Call Authlete's /api/backchannel/authentication/complete API.
 
async Task< DeviceAuthorizationResponseDeviceAuthorization (DeviceAuthorizationRequest request)
 Call Authlete's /api/device/authorization API.
 
async Task< DeviceCompleteResponseDeviceComplete (DeviceCompleteRequest request)
 Call Authlete's /api/device/complete API.
 
async Task< DeviceVerificationResponseDeviceVerification (DeviceVerificationRequest request)
 Call Authlete's /api/device/verification API.
 
async Task< PushedAuthReqResponsePushAuthorizationRequest (PushedAuthReqRequest request)
 Call Authlete's /api/pushed_auth_req API.
 

Properties

ISettings Settings [get]
 
- Properties inherited from IAuthleteApi
ISettings Settings [get]
 The reference to the settings of this IAuthleteApi implementation. More...
 

Detailed Description

An implementation of the IAuthleteApi interface.

Constructor & Destructor Documentation

◆ AuthleteApi()

AuthleteApi ( IAuthleteConfiguration  configuration)
inline

Constructor with configuration.

Parameters
configurationConfiguration to access an Authlete API server.

The documentation for this class was generated from the following file: