Class ReactiveSecurityContext
java.lang.Object
com.sap.cloud.security.xsuaa.token.ReactiveSecurityContext
-
Method Summary
Modifier and TypeMethodDescriptionstatic reactor.core.publisher.Mono<XsuaaToken>getToken()Obtain the Token object from the Spring Reactive SecurityContext
-
Method Details
-
getToken
Obtain the Token object from the Spring Reactive SecurityContext- Returns:
- Mono object of type token or error of class
AccessDeniedExceptionin case there is no token, user is not authenticated.
-