awaitPrincipal

Deprecated

Use the variant with the org.springframework.web.server package instead.

Replace with

import org.springframework.web.server.awaitPrincipal
awaitPrincipal<T>()

Coroutines variant of ServerWebExchange.getPrincipal.

Author

Sebastien Deleuze

Since

5.2