public final class Client extends Object implements Serializable, org.mule.runtime.api.component.Component
| Constructor and Description |
|---|
Client() |
Client(String clientId,
String secret,
ClientType type,
Set<String> clientRedirectUris,
Set<Constants.RequestGrantType> clientAuthorizedGrantTypes,
Set<String> clientScopes) |
public Client()
public Client(String clientId, String secret, ClientType type, Set<String> clientRedirectUris, Set<Constants.RequestGrantType> clientAuthorizedGrantTypes, Set<String> clientScopes)
public void setAnnotations(Map<QName,Object> annotations)
setAnnotations in interface org.mule.runtime.api.component.Componentpublic org.mule.runtime.api.component.location.Location getRootContainerLocation()
getRootContainerLocation in interface org.mule.runtime.api.component.Componentpublic Object getAnnotation(QName name)
getAnnotation in interface org.mule.runtime.api.component.Componentpublic Map<QName,Object> getAnnotations()
getAnnotations in interface org.mule.runtime.api.component.Componentpublic org.mule.runtime.api.component.location.ComponentLocation getLocation()
getLocation in interface org.mule.runtime.api.component.Componentpublic boolean isAuthenticatedBy(ClientSecretCredentials clientSecretCredentials)
public String getClientId()
public String getClientName()
public void setClientName(String clientName)
public String getDescription()
public void setDescription(String description)
public String getSecret()
public void setSecret(String secret)
public Set<Constants.RequestGrantType> getAuthorizedGrantTypes()
public void setAuthorizedGrantTypes(Set<Constants.RequestGrantType> authorizedGrantTypes)
public ClientType getType()
public void setType(ClientType type)
public String getPrincipal()
public void setPrincipal(String principal)
public void setClientId(String clientId)
public ConcurrentMap<String,Pattern> getRedirectUriPatternCache()
public void setRedirectUriPatternCache(ConcurrentMap<String,Pattern> redirectUriPatternCache)
public boolean isValidRedirectUri(String testedRedirectUri)
public boolean isGrantTypeAuthorized(Constants.RequestGrantType grantType)
Copyright © 2025 MuleSoft, Inc.. All rights reserved.