Preparing search index...
The search index is not available
@lasuillard/raindrop-client
@lasuillard/raindrop-client
generated
AuthenticationApiFp
Function AuthenticationApiFp
AuthenticationApi - functional programming interface
Export
Authentication
Api
Fp
(
configuration
?
)
:
{
authorize
(
redirectUri
:
string
,
clientId
:
string
,
options
?:
RawAxiosRequestConfig
)
:
Promise
<
(
(
axios
?:
AxiosInstance
,
basePath
?:
string
)
=>
AxiosPromise
<
void
>
)
>
;
getOrRefreshToken
(
getOrRefreshTokenRequest
?:
GetOrRefreshTokenRequest
,
options
?:
RawAxiosRequestConfig
)
:
Promise
<
(
(
axios
?:
AxiosInstance
,
basePath
?:
string
)
=>
AxiosPromise
<
GetOrRefreshToken200Response
>
)
>
;
}
Parameters
Optional
configuration
:
Configuration
Returns
{
authorize
(
redirectUri
:
string
,
clientId
:
string
,
options
?:
RawAxiosRequestConfig
)
:
Promise
<
(
(
axios
?:
AxiosInstance
,
basePath
?:
string
)
=>
AxiosPromise
<
void
>
)
>
;
getOrRefreshToken
(
getOrRefreshTokenRequest
?:
GetOrRefreshTokenRequest
,
options
?:
RawAxiosRequestConfig
)
:
Promise
<
(
(
axios
?:
AxiosInstance
,
basePath
?:
string
)
=>
AxiosPromise
<
GetOrRefreshToken200Response
>
)
>
;
}
authorize
:
function
authorize
(
redirectUri
,
clientId
,
options
?
)
:
Promise
<
(
(
axios
?:
AxiosInstance
,
basePath
?:
string
)
=>
AxiosPromise
<
void
>
)
>
Parameters
redirectUri
:
string
clientId
:
string
Optional
options
:
RawAxiosRequestConfig
Override http request option.
Returns
Promise
<
(
(
axios
?:
AxiosInstance
,
basePath
?:
string
)
=>
AxiosPromise
<
void
>
)
>
Throws
get
Or
Refresh
Token
:
function
get
Or
Refresh
Token
(
getOrRefreshTokenRequest
?
,
options
?
)
:
Promise
<
(
(
axios
?:
AxiosInstance
,
basePath
?:
string
)
=>
AxiosPromise
<
GetOrRefreshToken200Response
>
)
>
Parameters
Optional
getOrRefreshTokenRequest
:
GetOrRefreshTokenRequest
Optional
options
:
RawAxiosRequestConfig
Override http request option.
Returns
Promise
<
(
(
axios
?:
AxiosInstance
,
basePath
?:
string
)
=>
AxiosPromise
<
GetOrRefreshToken200Response
>
)
>
Throws
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@lasuillard/raindrop-client
Loading...
AuthenticationApi - functional programming interface
Export