Package org.cyclos.entities.access
Class OidcClient
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,OidcClientAccessor,HasNetwork,ProcessableForProxying,DefinesNetwork,ImageOwner<OidcClient,OidcClientImage>,IEntity,IInternalNamedEntity,INamedEntity
@Entity public class OidcClient extends BaseOidcClient implements ImageOwner<OidcClient,OidcClientImage>, OidcClientAccessor
An OAuth2 / OpenID Connect client (RP - relying party)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Field Summary
-
Fields inherited from class org.cyclos.entities.access.BaseOidcClient
enabled
-
-
Constructor Summary
Constructors Constructor Description OidcClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeIntervalgetAccessTokenExpiration()Set<UserAccountType>getAccounts()OidcClientImagegetImage()Either the single image or a de-normalized reference to the first imageOidcClientNaturegetNature()Set<PaymentTransferType>getPayments()Set<Scope>getScopes()Set<PaymentTransferType>getTickets()TempImagegetUploadedImage()booleanisSinglePaymentPerConsent()voidsetAccessTokenExpiration(TimeInterval accessTokenExpiration)voidsetAccounts(Set<UserAccountType> accounts)voidsetImage(OidcClientImage image)Either the single image or a de-normalized reference to the first imagevoidsetPayments(Set<PaymentTransferType> payments)voidsetScopes(Set<Scope> scopes)voidsetSinglePaymentPerConsent(boolean singlePaymentPerConsent)voidsetTickets(Set<PaymentTransferType> tickets)voidsetUploadedImage(TempImage uploadedImage)-
Methods inherited from class org.cyclos.entities.access.BaseOidcClient
getClientId, getCreationDate, getNetwork, getPrivacyPolicyUrl, getRedirectUris, getSecret, getTermsOfServiceUrl, getWebsite, isEnabled, setClientId, setCreationDate, setEnabled, setNetwork, setPrivacyPolicyUrl, setRedirectUris, setSecret, setTermsOfServiceUrl, setWebsite
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.system.ImageOwner
getImages, setImages
-
Methods inherited from interface org.cyclos.entities.access.OidcClientAccessor
isEnabled
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getAccessTokenExpiration
public TimeInterval getAccessTokenExpiration()
- Specified by:
getAccessTokenExpirationin interfaceOidcClientAccessor
-
getAccounts
public Set<UserAccountType> getAccounts()
- Specified by:
getAccountsin interfaceOidcClientAccessor
-
getImage
public OidcClientImage getImage()
Description copied from interface:ImageOwnerEither the single image or a de-normalized reference to the first image- Specified by:
getImagein interfaceImageOwner<OidcClient,OidcClientImage>
-
getNature
public OidcClientNature getNature()
- Specified by:
getNaturein classBaseOidcClient
-
getPayments
public Set<PaymentTransferType> getPayments()
- Specified by:
getPaymentsin interfaceOidcClientAccessor
-
getScopes
public Set<Scope> getScopes()
- Specified by:
getScopesin interfaceOidcClientAccessor
-
getTickets
public Set<PaymentTransferType> getTickets()
- Specified by:
getTicketsin interfaceOidcClientAccessor
-
getUploadedImage
public TempImage getUploadedImage()
-
isSinglePaymentPerConsent
public boolean isSinglePaymentPerConsent()
- Specified by:
isSinglePaymentPerConsentin interfaceOidcClientAccessor
-
setAccessTokenExpiration
public void setAccessTokenExpiration(TimeInterval accessTokenExpiration)
-
setAccounts
public void setAccounts(Set<UserAccountType> accounts)
-
setImage
public void setImage(OidcClientImage image)
Description copied from interface:ImageOwnerEither the single image or a de-normalized reference to the first image- Specified by:
setImagein interfaceImageOwner<OidcClient,OidcClientImage>
-
setPayments
public void setPayments(Set<PaymentTransferType> payments)
-
setSinglePaymentPerConsent
public void setSinglePaymentPerConsent(boolean singlePaymentPerConsent)
-
setTickets
public void setTickets(Set<PaymentTransferType> tickets)
-
setUploadedImage
public void setUploadedImage(TempImage uploadedImage)
-
-