-
public final class AuthConfigData class holding authentication configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAuthConfig.Companion
-
Method Summary
Modifier and Type Method Description final BooleangetHttps()Defines if the connection should be https or not final UnitsetHttps(Boolean https)Defines if the connection should be https or not final StringgetClientId()The id of the client final UnitsetClientId(String clientId)The id of the client final StringgetRealm()The realm. final UnitsetRealm(String realm)The realm. final StringgetRedirectUrl()The redirect url final UnitsetRedirectUrl(String redirectUrl)The redirect url final StringgetPort()Port for the network connection final UnitsetPort(String port)Port for the network connection final StringgetContentServicePath()Path to content service final UnitsetContentServicePath(String contentServicePath)Path to content service final StringjsonSerialize()Convenience method for JSON serialization. -
-
Method Detail
-
getClientId
final String getClientId()
The id of the client
-
setClientId
final Unit setClientId(String clientId)
The id of the client
-
getRealm
final String getRealm()
The realm. Used to generate the final url. The place of realm should be here https://identity-service/auth/realms/REALM/
-
setRealm
final Unit setRealm(String realm)
The realm. Used to generate the final url. The place of realm should be here https://identity-service/auth/realms/REALM/
-
getRedirectUrl
final String getRedirectUrl()
The redirect url
-
setRedirectUrl
final Unit setRedirectUrl(String redirectUrl)
The redirect url
-
getContentServicePath
final String getContentServicePath()
Path to content service
-
setContentServicePath
final Unit setContentServicePath(String contentServicePath)
Path to content service
-
jsonSerialize
final String jsonSerialize()
Convenience method for JSON serialization.
-
-
-
-