GetSubjectTokenFunc is a function type for extracting subject tokens. It receives the bearer token (from Authorization header) and should return the subject token for STS exchange, or empty string if not available.
func(bearerToken string) string
| 10 | // It receives the bearer token (from Authorization header) and should return |
| 11 | // the subject token for STS exchange, or empty string if not available. |
| 12 | type GetSubjectTokenFunc func(bearerToken string) string |
| 13 | |
| 14 | // DefaultGetSubjectToken extracts the JWT token from the Authorization header. |
| 15 | // It expects the bearerToken to already be the JWT (without "Bearer " prefix). |
nothing calls this directly
no outgoing calls
no test coverage detected