Skip to content

Commit

Permalink
update method name
Browse files Browse the repository at this point in the history
  • Loading branch information
chathuranga-jayanath-99 committed Dec 13, 2024
1 parent 887a334 commit 30f5af2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public OMElement generateEndpointOMElement() {
OMElement authentication = factory.createOMElement(SynapseConstants.AUTHENTICATION, synapseNS);
OMElement oauth = factory.createOMElement(SynapseConstants.OAUTH_TAG, synapseNS);
if (oauthGrantType.equalsIgnoreCase(SynapseConstants.OAUTH_GRANT_TYPE_AUTHORIZATION_CODE)) {
OMElement authorizationCode = generateOAuthAuthorizatonCodeElement(factory, synapseNS);
OMElement authorizationCode = generateOAuthAuthorizationCodeElement(factory, synapseNS);
oauth.addChild(authorizationCode);
authentication.addChild(oauth);
http.addChild(authentication);
Expand Down Expand Up @@ -412,7 +412,7 @@ private OMElement generateOAuthClientCredentialsElement(OMFactory factory, OMNam
return clientCredentials;
}

private OMElement generateOAuthAuthorizatonCodeElement(OMFactory factory, OMNamespace synapseNS) {
private OMElement generateOAuthAuthorizationCodeElement(OMFactory factory, OMNamespace synapseNS) {

OMElement authorizationCode = factory.createOMElement(SynapseConstants.AUTHORIZATION_CODE, synapseNS);

Expand Down

0 comments on commit 30f5af2

Please sign in to comment.