Interface IdentityTokenProducer
-
- All Known Implementing Classes:
KeycloakTokenProducer
public interface IdentityTokenProducer
-
-
Field Summary
Fields Modifier and Type Field Description static StringAUTHORIZATION_HEADER
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.http.HttpHeadersauthorizationHeaders()org.springframework.http.HttpEntityentityWithAuthorizationHeader()org.springframework.http.HttpEntityentityWithAuthorizationHeader(String user, String password)org.springframework.http.HttpEntityentityWithoutAuthentication()StringgetAccessTokenString()StringgetTestUser()StringgetTokenString()IdentityTokenProducerwithResource(String resource)IdentityTokenProducerwithTestPassword(String password)IdentityTokenProducerwithTestUser(String user)
-
-
-
Field Detail
-
AUTHORIZATION_HEADER
static final String AUTHORIZATION_HEADER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTokenString
String getTokenString()
-
withResource
IdentityTokenProducer withResource(String resource)
-
withTestPassword
IdentityTokenProducer withTestPassword(String password)
-
withTestUser
IdentityTokenProducer withTestUser(String user)
-
getAccessTokenString
String getAccessTokenString()
-
entityWithAuthorizationHeader
org.springframework.http.HttpEntity entityWithAuthorizationHeader(String user, String password)
-
entityWithoutAuthentication
org.springframework.http.HttpEntity entityWithoutAuthentication()
-
entityWithAuthorizationHeader
org.springframework.http.HttpEntity entityWithAuthorizationHeader()
-
getTestUser
String getTestUser()
-
authorizationHeaders
org.springframework.http.HttpHeaders authorizationHeaders()
-
-