class AuthleteApiImpl
implements AuthleteApi
import { AuthleteApiImpl } from "https://deno.land/x/authlete_deno@v1.2.7/mod.ts";
An implementation of AuthleteApi
interface.
Constructors
new
AuthleteApiImpl(config: AuthleteConfiguration)The constructor.
Properties
private
serviceCredentials: BasicCredentialsThe service credentials.
private
serviceOwnerCredentials: BasicCredentialsThe service owner credentials.
Methods
private
callApi<TResponse>(path: string,
method: HttpMethod,
credentials: BasicCredentials,
params?: QueryParams,
requestBody?: any,
clazz?: ResponseClass<TResponse>,
Call an Authlete API.
private
callDeleteApi(path: string, credentials: BasicCredentials)Call an Authlete API with HTTP DELETE
method.
private
callGetApi<TResponse>(path: string,
credentials: any,
params?: QueryParams,
clazz?: ResponseClass<TResponse>,
Call an Authlete API with HTTP GET
method.
private
callPostApi<TResponse>()Call an Authlete API with HTTP POST
method.
private
callServiceDeleteApi(path: string)Call an Authlete API with HTTP DELETE
method and the service credentials.
private
callServiceGetApi<TResponse>(path: string,
params?: QueryParams,
clazz?: ResponseClass<TResponse>,
Call an Authlete API with HTTP GET
method and the service credentials.
private
callServiceOwnerDeleteApi(path: string)Call an Authlete API with HTTP DELETE
method and the service owner credentials.
private
callServiceOwnerGetApi<TResponse>(path: string,
params?: QueryParams,
clazz?: ResponseClass<TResponse>,
Call an Authlete API with HTTP GET
method and the service owner credentials.
private
callServiceOwnerPostApi<TResponse>(path: string,
requestBody: any,
clazz?: ResponseClass<TResponse>,
Call an Authlete API with HTTP POST
method and the service owner credentials.
private
callServicePostApi<TResponse>(path: string,
requestBody: any,
clazz?: ResponseClass<TResponse>,
Call an Authlete API with HTTP POST
method and the service credentials.
authorization(request: AuthorizationRequest)
authorizationFail(request: AuthorizationFailRequest)
authorizationIssue(request: AuthorizationIssueRequest)
createClient(client: Client)
createService(service: Service)
deleteClient(clientId: number)
deleteService(apiKey: number)
deviceComplete(request: DeviceCompleteRequest)
deviceVerification(request: DeviceVerificationRequest)
getClient(clientId: number)
getClientList()
developer?: string,
start?: number,
end?: number,
getService(apiKey: number)
getServiceConfiguration(pretty?: boolean)
getServiceJwks(pretty?: boolean, includePrivateKeys?: boolean)
getServiceList(start?: number, end?: number)
introspection(request: IntrospectionRequest)
revocation(request: RevocationRequest)
token(request: TokenRequest)
tokenFail(request: TokenFailRequest)
tokenIssue(request: TokenIssueRequest)
updateClient(client: Client)
updateService(service: Service)
userInfo(request: UserInfoRequest)
userInfoIssue(request: UserInfoIssueRequest)