internal/httpclient/model_oidc_user_info.go
OidcUserInfo
has 78 methods (exceeds 20 allowed). Consider refactoring. Open
Open
type OidcUserInfo struct {
// End-User's birthday, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed. Note that depending on the underlying platform's date related function, providing just year can result in varying month and day, so the implementers need to take this factor into account to correctly process the dates.
Birthdate *string `json:"birthdate,omitempty"`
// End-User's preferred e-mail address. Its value MUST conform to the RFC 5322 [RFC5322] addr-spec syntax. The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7.
Email *string `json:"email,omitempty"`
File model_oidc_user_info.go
has 548 lines of code (exceeds 500 allowed). Consider refactoring. Open
Open
/*
Ory Hydra API
Documentation for all of Ory Hydra's APIs.
Method OidcUserInfo.ToMap
has 59 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (o OidcUserInfo) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.Birthdate) {
toSerialize["birthdate"] = o.Birthdate
}