Request is an implementation of Requester
| 13 | |
| 14 | // Request is an implementation of Requester |
| 15 | type Request struct { |
| 16 | ID string `json:"id" gorethink:"id"` |
| 17 | RequestedAt time.Time `json:"requestedAt" gorethink:"requestedAt"` |
| 18 | Client Client `json:"client" gorethink:"client"` |
| 19 | RequestedScope Arguments `json:"scopes" gorethink:"scopes"` |
| 20 | GrantedScope Arguments `json:"grantedScopes" gorethink:"grantedScopes"` |
| 21 | Form url.Values `json:"form" gorethink:"form"` |
| 22 | Session Session `json:"session" gorethink:"session"` |
| 23 | RequestedAudience Arguments `json:"requestedAudience"` |
| 24 | GrantedAudience Arguments `json:"grantedAudience"` |
| 25 | Lang language.Tag `json:"-"` |
| 26 | } |
| 27 | |
| 28 | func NewRequest() *Request { |
| 29 | return &Request{ |
nothing calls this directly
no outgoing calls
no test coverage detected