Search in sources :

Example 6 with OauthCode

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;
}
Also used : OauthCode(io.github.tesla.authz.domain.OauthCode)

Aggregations

OauthCode (io.github.tesla.authz.domain.OauthCode)6 AccessToken (io.github.tesla.authz.domain.AccessToken)1