Package | Description |
---|---|
com.sap.cds.services | |
com.sap.cds.services.authentication | |
com.sap.cds.services.request | |
com.sap.cds.services.runtime |
Modifier and Type | Method and Description |
---|---|
AuthenticationInfo |
EventContext.getAuthenticationInfo() |
Modifier and Type | Class and Description |
---|---|
class |
BasicAuthenticationInfo
Representation of a Basic authentication
|
class |
JwtTokenAuthenticationInfo
Representation of an OAuth2 JWT Token authentication
|
class |
JwtTokenWithForwardJwtAuthenticationInfo
Representation of a
JwtTokenAuthenticationInfo which additionally provides a forward token. |
Modifier and Type | Method and Description |
---|---|
default <T extends AuthenticationInfo> |
AuthenticationInfo.as(Class<T> clazz)
Can be used to cast the
AuthenticationInfo to a specific implementation:
- BasicAuthenticationInfo
- JwtTokenAuthenticationInfo
- JwtTokenWithForwardJwtAuthenticationInfo |
Modifier and Type | Method and Description |
---|---|
default boolean |
AuthenticationInfo.is(Class<? extends AuthenticationInfo> clazz)
Can be used to check if an
AuthenticationInfo is an instance of the common AuthenticationInfo implementations:
- BasicAuthenticationInfo
- JwtTokenAuthenticationInfo
- JwtTokenWithForwardJwtAuthenticationInfo |
Modifier and Type | Method and Description |
---|---|
AuthenticationInfo |
RequestContext.getAuthenticationInfo() |
Modifier and Type | Method and Description |
---|---|
AuthenticationInfo |
AuthenticationInfoProvider.get()
Provides the
AuthenticationInfo . |
AuthenticationInfo |
CdsRuntime.getProvidedAuthenticationInfo() |
Copyright © 2022. All rights reserved.