public static class TokenAuthentication.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TokenAuthentication |
build() |
TokenAuthentication.Builder |
withProperties(Map<String,Object> properties) |
TokenAuthentication.Builder |
withResourceOwnerRoles(Set<String> resourceOwnerRoles) |
TokenAuthentication.Builder |
withScopes(Set<String> scopes) |
TokenAuthentication.Builder |
withToken(String token) |
TokenAuthentication.Builder |
withTokenHolder(AccessTokenStoreHolder tokenHolder) |
public TokenAuthentication.Builder withToken(String token)
public TokenAuthentication.Builder withProperties(Map<String,Object> properties)
public TokenAuthentication.Builder withScopes(Set<String> scopes)
public TokenAuthentication.Builder withResourceOwnerRoles(Set<String> resourceOwnerRoles)
public TokenAuthentication.Builder withTokenHolder(AccessTokenStoreHolder tokenHolder)
public TokenAuthentication build()
Copyright © 2023 MuleSoft, Inc.. All rights reserved.