/** * /accounts/v1/authorization namespace * @see https://services.vedavaapi.org:8443/api/accounts/v1/docs */ import { APIEndpoint } from '../../lib'; import { IAuthorizerGetParams, ISignInData, ITokenPostData } from './param-models'; import { IToken } from './response-models'; export declare const namespaceBase = "/accounts/v1/oauth"; export declare const makeURLFn: (endpoint: string) => import("../../lib").IURLGen; /** * OAuth Authorization Request endpoint. * @see https://www.oauth.com/oauth2-servers/authorization/the-authorization-request/ * Use endpoint objext for creating final authorization endpoint url, and redirect iuser to it; */ export declare const Authorizer: APIEndpoint; /** * OAuth Token endpoint. for all types of tokens. attach appropriate params for specific flow/token types * @see https://www.oauth.com/oauth2-servers/access-tokens/ */ export declare const Token: APIEndpoint; /** * primary sign In endpoint. useful on server side and tests. * web clients CAN NOT and SHOULD NOT use this endpoint, as they should be from same origin as api for that. */ export declare const SignIn: APIEndpoint; /** * primary signout endpoint. useful on server side and tests. * web clients CAN NOT and SHOULD NOT use this endpoint, as they should be from same origin as api for that. */ export declare const SignOut: APIEndpoint; declare const _default: { namespaceBase: string; Authorizer: APIEndpoint; Token: APIEndpoint; SignIn: APIEndpoint; SignOut: APIEndpoint; }; export default _default;