generateRegistrationAccessToken generates a registration access token for RFC 7592
()
| 509 | |
| 510 | // generateRegistrationAccessToken generates a registration access token for RFC 7592 |
| 511 | func generateRegistrationAccessToken() (plaintext string, hashed []byte, err error) { |
| 512 | return apikey.GenerateSecret(secretLength) |
| 513 | } |
| 514 | |
| 515 | // writeOAuth2RegistrationError writes RFC 7591 compliant error responses |
| 516 | func writeOAuth2RegistrationError(_ context.Context, rw http.ResponseWriter, status int, errorCode, description string) { |
no test coverage detected