Class OauthResources
- java.lang.Object
-
- de.adorsys.ledgers.middleware.rest.resource.OauthResources
-
- All Implemented Interfaces:
OauthRestApi
@RestController @MiddlewareResetResource @RequestMapping("/oauth") public class OauthResources extends Object implements OauthRestApi
-
-
Field Summary
-
Fields inherited from interface de.adorsys.ledgers.middleware.rest.resource.OauthRestApi
BASE_PATH
-
-
Constructor Summary
Constructors Constructor Description OauthResources()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<OauthCodeResponseTO>oauthCode(String redirectUri)org.springframework.http.ResponseEntity<OauthCodeResponseTO>oauthCode(String login, String pin, String redirectUri)org.springframework.http.ResponseEntity<OauthServerInfoTO>oauthServerInfo()org.springframework.http.ResponseEntity<BearerTokenTO>oauthToken(String code)
-
-
-
Method Detail
-
oauthCode
public org.springframework.http.ResponseEntity<OauthCodeResponseTO> oauthCode(String login, String pin, String redirectUri)
- Specified by:
oauthCodein interfaceOauthRestApi
-
oauthCode
public org.springframework.http.ResponseEntity<OauthCodeResponseTO> oauthCode(String redirectUri)
- Specified by:
oauthCodein interfaceOauthRestApi
-
oauthToken
public org.springframework.http.ResponseEntity<BearerTokenTO> oauthToken(String code)
- Specified by:
oauthTokenin interfaceOauthRestApi
-
oauthServerInfo
public org.springframework.http.ResponseEntity<OauthServerInfoTO> oauthServerInfo()
- Specified by:
oauthServerInfoin interfaceOauthRestApi
-
-