Package de.adrianlange.mcd.model.impl
Class OAuth2Impl
- java.lang.Object
-
- de.adrianlange.mcd.model.impl.OAuth2Impl
-
-
Constructor Summary
Constructors Modifier Constructor Description OAuth2Impl()protectedOAuth2Impl(String issuer, String scope, String authUrl, String tokenUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthUrl()Returns the auth URL.StringgetIssuer()Returns the token issuer.StringgetScope()Returns the token scope.StringgetTokenUrl()Returns the token URL.voidsetAuthUrl(String authUrl)voidsetIssuer(String issuer)voidsetScope(String scope)voidsetTokenUrl(String tokenUrl)StringtoString()
-
-
-
Method Detail
-
getIssuer
public String getIssuer()
Description copied from interface:OAuth2Returns the token issuer.May contain placeholders, see
MozillaAutoconfMailserverServicefor more information.
-
setIssuer
public void setIssuer(String issuer)
-
getScope
public String getScope()
Description copied from interface:OAuth2Returns the token scope.May contain placeholders, see
MozillaAutoconfMailserverServicefor more information.
-
setScope
public void setScope(String scope)
-
getAuthUrl
public String getAuthUrl()
Description copied from interface:OAuth2Returns the auth URL.May contain placeholders, see
MozillaAutoconfMailserverServicefor more information.- Specified by:
getAuthUrlin interfaceOAuth2- Returns:
- Auth URL or null if not set.
-
setAuthUrl
public void setAuthUrl(String authUrl)
-
getTokenUrl
public String getTokenUrl()
Description copied from interface:OAuth2Returns the token URL.May contain placeholders, see
MozillaAutoconfMailserverServicefor more information.- Specified by:
getTokenUrlin interfaceOAuth2- Returns:
- Token URL or null if not set.
-
setTokenUrl
public void setTokenUrl(String tokenUrl)
-
-