Package mx.wire4.auth
Class OAuthWire4
- java.lang.Object
-
- mx.wire4.auth.OAuthWire4
-
public class OAuthWire4 extends Object
Fecha de creación: 20 de octubre, 2019- Version:
- 1.0
- Author:
- Saintiago García
-
-
Constructor Summary
Constructors Constructor Description OAuthWire4(String clientId, String clientSecret, EnvironmentEnum environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringobtainAccessTokenApp(String scope)StringobtainAccessTokenAppUser(String userKey, String secretKey, String scope)StringregenerateAccessTokenApp(String scope)StringregenerateAccessTokenAppUser(String userKey, String secretKey, String scope)
-
-
-
Constructor Detail
-
OAuthWire4
public OAuthWire4(String clientId, String clientSecret, EnvironmentEnum environment)
-
-
Method Detail
-
obtainAccessTokenApp
public String obtainAccessTokenApp(String scope) throws mx.wire4.ApiException
- Throws:
mx.wire4.ApiException
-
obtainAccessTokenAppUser
public String obtainAccessTokenAppUser(String userKey, String secretKey, String scope) throws mx.wire4.ApiException
- Throws:
mx.wire4.ApiException
-
regenerateAccessTokenApp
public String regenerateAccessTokenApp(String scope) throws mx.wire4.ApiException
- Throws:
mx.wire4.ApiException
-
-