use of io.github.tesla.authz.domain.OauthCode in project tesla by linking12.
the class OauthService method createOauthCode.
private OauthCode createOauthCode(ClientDetails clientDetails) throws OAuthSystemException {
OauthCode oauthCode;
final String authCode = oAuthIssuer.authorizationCode();
LOG.debug("Save authorizationCode '{}' of ClientDetails '{}'", authCode, clientDetails);
oauthCode = this.saveAuthorizationCode(authCode, clientDetails);
return oauthCode;
}
Aggregations