public interface OAuthApi
Modifier and Type | Method and Description |
---|---|
io.reactivex.Observable<retrofit2.Response<Token>> |
getAccessToken(Map<String,String> params)
Gets a new access token by sending an authorization grant or refresh token.
|
@FormUrlEncoded @POST(value="/v6/authentication/oauth2/token") io.reactivex.Observable<retrofit2.Response<Token>> getAccessToken(@FieldMap Map<String,String> params)
params
- FieldMap
with parameters.Observable
with the Token
information.Copyright © 2023. All rights reserved.