Interface ObaOauthApi


  • public interface ObaOauthApi
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String BASE_PATH  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.oauth.OauthCodeResponseTO> oauthCode​(String login, String pin, String redirectUri)  
      de.adorsys.ledgers.middleware.api.domain.oauth.OauthServerInfoTO oauthServerInfo​(String redirectId, String paymentId, String consentId, String cancellationId)  
      org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.um.BearerTokenTO> oauthToken​(String code)  
    • Method Detail

      • oauthCode

        @PostMapping("/authorise")
        org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.oauth.OauthCodeResponseTO> oauthCode​(@RequestHeader("login")
                                                                                                                              String login,
                                                                                                                              @RequestHeader("pin")
                                                                                                                              String pin,
                                                                                                                              @RequestParam("redirect_uri")
                                                                                                                              String redirectUri)
      • oauthToken

        @PostMapping("/token")
        org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.um.BearerTokenTO> oauthToken​(@RequestParam("code")
                                                                                                                      String code)
      • oauthServerInfo

        @GetMapping("/authorization-server")
        de.adorsys.ledgers.middleware.api.domain.oauth.OauthServerInfoTO oauthServerInfo​(@RequestParam(required=false)
                                                                                         String redirectId,
                                                                                         @RequestParam(required=false)
                                                                                         String paymentId,
                                                                                         @RequestParam(required=false)
                                                                                         String consentId,
                                                                                         @RequestParam(required=false)
                                                                                         String cancellationId)