public class TokenAuthentication extends Object implements org.mule.runtime.api.security.Authentication
SecurityProvider to authenticate.
| Modifier and Type | Class and Description |
|---|---|
static class |
TokenAuthentication.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TokenAuthentication.Builder |
builder() |
static TokenAuthentication.Builder |
builder(TokenAuthentication tokenAuthentication) |
Object |
getCredentials() |
Object |
getPrincipal() |
Map<String,Object> |
getProperties() |
Set<String> |
getResourceOwnerRoles() |
Set<String> |
getScopes() |
String |
getToken() |
AccessTokenStoreHolder |
getTokenHolder() |
org.mule.runtime.api.security.Authentication |
setProperties(Map<String,Object> properties) |
public static TokenAuthentication.Builder builder()
public static TokenAuthentication.Builder builder(TokenAuthentication tokenAuthentication)
public Object getCredentials()
getCredentials in interface org.mule.runtime.api.security.Authenticationpublic Object getPrincipal()
getPrincipal in interface org.mule.runtime.api.security.Authenticationpublic Map<String,Object> getProperties()
getProperties in interface org.mule.runtime.api.security.Authenticationpublic org.mule.runtime.api.security.Authentication setProperties(Map<String,Object> properties)
setProperties in interface org.mule.runtime.api.security.Authenticationpublic String getToken()
public AccessTokenStoreHolder getTokenHolder()
Copyright © 2023 MuleSoft, Inc.. All rights reserved.