Class OAuth2CredentialsType
java.lang.Object
com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
com.evolveum.midpoint.xml.ns._public.common.common_3.OAuth2CredentialsType
- All Implemented Interfaces:
PlainStructured,JaxbVisitable,Serializable,Cloneable
public class OAuth2CredentialsType
extends com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
Configuration of OAuth 2.0 authentication.
EXPERIMENTAL, tested for O365.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.binding.PlainStructured
PlainStructured.WithoutStrategy -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(JaxbVisitor visitor) clientSecret(ProtectedStringType value) clone()booleanequals(Object other, StructuredEqualsStrategy strategy) getScope()inthashCode(StructuredHashCodeStrategy strategy) voidsetClientId(String value) voidvoidvoidsetTokenEndpoint(String value) voidsetUsername(String value) tokenEndpoint(String value) Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
equals, hashCode, toString
-
Field Details
-
username
-
clientId
-
clientSecret
-
tokenEndpoint
-
scope
-
COMPLEX_TYPE
-
F_USERNAME
-
F_CLIENT_ID
-
F_CLIENT_SECRET
-
F_TOKEN_ENDPOINT
-
F_SCOPE
-
-
Constructor Details
-
OAuth2CredentialsType
public OAuth2CredentialsType() -
OAuth2CredentialsType
-
-
Method Details
-
getUsername
-
setUsername
-
getClientId
-
setClientId
-
getClientSecret
-
setClientSecret
-
getTokenEndpoint
-
setTokenEndpoint
-
getScope
-
setScope
-
hashCode
- Specified by:
hashCodein interfacePlainStructured- Overrides:
hashCodein classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
equals
- Specified by:
equalsin interfacePlainStructured- Overrides:
equalsin classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
username
-
clientId
-
clientSecret
-
tokenEndpoint
-
scope
-
accept
- Specified by:
acceptin interfaceJaxbVisitable- Overrides:
acceptin classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-
clone
- Specified by:
clonein interfacePlainStructured- Specified by:
clonein classcom.evolveum.midpoint.prism.impl.binding.AbstractPlainStructured
-