setAuthorizationFromSession method

void setAuthorizationFromSession(
  1. DescopeSession session
)

Sets the session JWT from a DescopeSession as the Bearer Token value of the Authorization header field in the http.Request.

Implementation

void setAuthorizationFromSession(DescopeSession session) {
  setAuthorizationFromToken(session.sessionToken);
}