
@Component public class AuthenticationUriBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
private org.springframework.cache.CacheManager |
cm |
private net.trajano.ms.core.CryptoOps |
cryptoOps |
private org.springframework.cache.Cache |
nonceCache |
private String |
realmName |
private ServiceConfiguration |
serviceConfiguration |
| Constructor and Description |
|---|
AuthenticationUriBuilder() |
| Modifier and Type | Method and Description |
|---|---|
URI |
build(String state,
String issuerId,
String authorization,
org.jose4j.jwt.JwtClaims additionalClaims)
This builds the authentication URI.
|
void |
init() |
@Autowired private org.springframework.cache.CacheManager cm
@Autowired private net.trajano.ms.core.CryptoOps cryptoOps
private org.springframework.cache.Cache nonceCache
@Value(value="${realmName:client_credentials}")
private String realmName
@Autowired private ServiceConfiguration serviceConfiguration
public URI build(String state, String issuerId, String authorization, org.jose4j.jwt.JwtClaims additionalClaims)
state - client stateissuerId - issuer IDauthorization - Authorization header (for the client ID and client secret)additionalClaims - additional claims.@PostConstruct public void init()
Copyright © 2012–2018 Trajano. All rights reserved.