Issue mints a new token for the given app request. It uses the long-lived session token in the HTTP request to authenticate and authorize the client for the given workspace app. The token is returned in struct and string form. The string form should be written as a cookie. If the request is invalid
(ctx context.Context, rw http.ResponseWriter, r *http.Request, appReq IssueTokenRequest)
| 103 | // app, false is returned. An error page is written to the response writer |
| 104 | // in this case. |
| 105 | Issue(ctx context.Context, rw http.ResponseWriter, r *http.Request, appReq IssueTokenRequest) (*SignedToken, string, bool) |
| 106 | } |
no outgoing calls
no test coverage detected