BuildAuthRequestCode builds the string representation of the auth code
(authReq AuthRequest, encrypter Encrypter)
| 611 | |
| 612 | // BuildAuthRequestCode builds the string representation of the auth code |
| 613 | func BuildAuthRequestCode(authReq AuthRequest, encrypter Encrypter) (string, error) { |
| 614 | return encrypter.Encrypt(authReq.GetID()) |
| 615 | } |
| 616 | |
| 617 | // AuthResponseURL encodes the authorization response (successful and error) and sets it as query or fragment values |
| 618 | // depending on the response_mode and response_type |
no test coverage detected