id int32 0 167k | repo stringlengths 5 54 | path stringlengths 4 155 | func_name stringlengths 1 118 | original_string stringlengths 52 85.5k | language stringclasses 1
value | code stringlengths 52 85.5k | code_tokens list | docstring stringlengths 6 2.61k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 85 252 |
|---|---|---|---|---|---|---|---|---|---|---|---|
134,300 | ory/hydra | sdk/go/hydra/client/admin/accept_consent_request_parameters.go | WithConsentChallenge | func (o *AcceptConsentRequestParams) WithConsentChallenge(consentChallenge string) *AcceptConsentRequestParams {
o.SetConsentChallenge(consentChallenge)
return o
} | go | func (o *AcceptConsentRequestParams) WithConsentChallenge(consentChallenge string) *AcceptConsentRequestParams {
o.SetConsentChallenge(consentChallenge)
return o
} | [
"func",
"(",
"o",
"*",
"AcceptConsentRequestParams",
")",
"WithConsentChallenge",
"(",
"consentChallenge",
"string",
")",
"*",
"AcceptConsentRequestParams",
"{",
"o",
".",
"SetConsentChallenge",
"(",
"consentChallenge",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithConsentChallenge adds the consentChallenge to the accept consent request params | [
"WithConsentChallenge",
"adds",
"the",
"consentChallenge",
"to",
"the",
"accept",
"consent",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/accept_consent_request_parameters.go#L121-L124 |
134,301 | ory/hydra | sdk/go/hydra/client/admin/delete_o_auth2_client_parameters.go | WithTimeout | func (o *DeleteOAuth2ClientParams) WithTimeout(timeout time.Duration) *DeleteOAuth2ClientParams {
o.SetTimeout(timeout)
return o
} | go | func (o *DeleteOAuth2ClientParams) WithTimeout(timeout time.Duration) *DeleteOAuth2ClientParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"DeleteOAuth2ClientParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"DeleteOAuth2ClientParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the delete o auth2 client params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"delete",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/delete_o_auth2_client_parameters.go#L76-L79 |
134,302 | ory/hydra | sdk/go/hydra/client/admin/delete_o_auth2_client_parameters.go | WithContext | func (o *DeleteOAuth2ClientParams) WithContext(ctx context.Context) *DeleteOAuth2ClientParams {
o.SetContext(ctx)
return o
} | go | func (o *DeleteOAuth2ClientParams) WithContext(ctx context.Context) *DeleteOAuth2ClientParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"DeleteOAuth2ClientParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"DeleteOAuth2ClientParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the delete o auth2 client params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"delete",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/delete_o_auth2_client_parameters.go#L87-L90 |
134,303 | ory/hydra | sdk/go/hydra/client/admin/delete_o_auth2_client_parameters.go | WithHTTPClient | func (o *DeleteOAuth2ClientParams) WithHTTPClient(client *http.Client) *DeleteOAuth2ClientParams {
o.SetHTTPClient(client)
return o
} | go | func (o *DeleteOAuth2ClientParams) WithHTTPClient(client *http.Client) *DeleteOAuth2ClientParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"DeleteOAuth2ClientParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"DeleteOAuth2ClientParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the delete o auth2 client params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"delete",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/delete_o_auth2_client_parameters.go#L98-L101 |
134,304 | ory/hydra | sdk/go/hydra/client/admin/delete_o_auth2_client_parameters.go | WithID | func (o *DeleteOAuth2ClientParams) WithID(id string) *DeleteOAuth2ClientParams {
o.SetID(id)
return o
} | go | func (o *DeleteOAuth2ClientParams) WithID(id string) *DeleteOAuth2ClientParams {
o.SetID(id)
return o
} | [
"func",
"(",
"o",
"*",
"DeleteOAuth2ClientParams",
")",
"WithID",
"(",
"id",
"string",
")",
"*",
"DeleteOAuth2ClientParams",
"{",
"o",
".",
"SetID",
"(",
"id",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithID adds the id to the delete o auth2 client params | [
"WithID",
"adds",
"the",
"id",
"to",
"the",
"delete",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/delete_o_auth2_client_parameters.go#L109-L112 |
134,305 | ory/hydra | sdk/go/hydra/client/public/userinfo_parameters.go | WithTimeout | func (o *UserinfoParams) WithTimeout(timeout time.Duration) *UserinfoParams {
o.SetTimeout(timeout)
return o
} | go | func (o *UserinfoParams) WithTimeout(timeout time.Duration) *UserinfoParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"UserinfoParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"UserinfoParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the userinfo params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"userinfo",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/public/userinfo_parameters.go#L69-L72 |
134,306 | ory/hydra | sdk/go/hydra/client/public/userinfo_parameters.go | WithContext | func (o *UserinfoParams) WithContext(ctx context.Context) *UserinfoParams {
o.SetContext(ctx)
return o
} | go | func (o *UserinfoParams) WithContext(ctx context.Context) *UserinfoParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"UserinfoParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"UserinfoParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the userinfo params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"userinfo",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/public/userinfo_parameters.go#L80-L83 |
134,307 | ory/hydra | sdk/go/hydra/client/public/userinfo_parameters.go | WithHTTPClient | func (o *UserinfoParams) WithHTTPClient(client *http.Client) *UserinfoParams {
o.SetHTTPClient(client)
return o
} | go | func (o *UserinfoParams) WithHTTPClient(client *http.Client) *UserinfoParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"UserinfoParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"UserinfoParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the userinfo params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"userinfo",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/public/userinfo_parameters.go#L91-L94 |
134,308 | ory/hydra | sdk/go/hydra/models/swagger_jwk_update_set.go | Validate | func (m *SwaggerJwkUpdateSet) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateBody(formats); err != nil {
res = append(res, err)
}
if err := m.validateSet(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
ret... | go | func (m *SwaggerJwkUpdateSet) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateBody(formats); err != nil {
res = append(res, err)
}
if err := m.validateSet(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
ret... | [
"func",
"(",
"m",
"*",
"SwaggerJwkUpdateSet",
")",
"Validate",
"(",
"formats",
"strfmt",
".",
"Registry",
")",
"error",
"{",
"var",
"res",
"[",
"]",
"error",
"\n\n",
"if",
"err",
":=",
"m",
".",
"validateBody",
"(",
"formats",
")",
";",
"err",
"!=",
... | // Validate validates this swagger jwk update set | [
"Validate",
"validates",
"this",
"swagger",
"jwk",
"update",
"set"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/models/swagger_jwk_update_set.go#L30-L45 |
134,309 | ory/hydra | sdk/go/hydra/client/admin/create_o_auth2_client_parameters.go | WithTimeout | func (o *CreateOAuth2ClientParams) WithTimeout(timeout time.Duration) *CreateOAuth2ClientParams {
o.SetTimeout(timeout)
return o
} | go | func (o *CreateOAuth2ClientParams) WithTimeout(timeout time.Duration) *CreateOAuth2ClientParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"CreateOAuth2ClientParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"CreateOAuth2ClientParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the create o auth2 client params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"create",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/create_o_auth2_client_parameters.go#L75-L78 |
134,310 | ory/hydra | sdk/go/hydra/client/admin/create_o_auth2_client_parameters.go | WithContext | func (o *CreateOAuth2ClientParams) WithContext(ctx context.Context) *CreateOAuth2ClientParams {
o.SetContext(ctx)
return o
} | go | func (o *CreateOAuth2ClientParams) WithContext(ctx context.Context) *CreateOAuth2ClientParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"CreateOAuth2ClientParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"CreateOAuth2ClientParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the create o auth2 client params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"create",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/create_o_auth2_client_parameters.go#L86-L89 |
134,311 | ory/hydra | sdk/go/hydra/client/admin/create_o_auth2_client_parameters.go | WithHTTPClient | func (o *CreateOAuth2ClientParams) WithHTTPClient(client *http.Client) *CreateOAuth2ClientParams {
o.SetHTTPClient(client)
return o
} | go | func (o *CreateOAuth2ClientParams) WithHTTPClient(client *http.Client) *CreateOAuth2ClientParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"CreateOAuth2ClientParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"CreateOAuth2ClientParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the create o auth2 client params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"create",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/create_o_auth2_client_parameters.go#L97-L100 |
134,312 | ory/hydra | sdk/go/hydra/client/admin/create_o_auth2_client_parameters.go | WithBody | func (o *CreateOAuth2ClientParams) WithBody(body *models.Client) *CreateOAuth2ClientParams {
o.SetBody(body)
return o
} | go | func (o *CreateOAuth2ClientParams) WithBody(body *models.Client) *CreateOAuth2ClientParams {
o.SetBody(body)
return o
} | [
"func",
"(",
"o",
"*",
"CreateOAuth2ClientParams",
")",
"WithBody",
"(",
"body",
"*",
"models",
".",
"Client",
")",
"*",
"CreateOAuth2ClientParams",
"{",
"o",
".",
"SetBody",
"(",
"body",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithBody adds the body to the create o auth2 client params | [
"WithBody",
"adds",
"the",
"body",
"to",
"the",
"create",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/create_o_auth2_client_parameters.go#L108-L111 |
134,313 | ory/hydra | sdk/go/hydra/client/health/is_instance_alive_parameters.go | WithTimeout | func (o *IsInstanceAliveParams) WithTimeout(timeout time.Duration) *IsInstanceAliveParams {
o.SetTimeout(timeout)
return o
} | go | func (o *IsInstanceAliveParams) WithTimeout(timeout time.Duration) *IsInstanceAliveParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"IsInstanceAliveParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"IsInstanceAliveParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the is instance alive params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"is",
"instance",
"alive",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/health/is_instance_alive_parameters.go#L69-L72 |
134,314 | ory/hydra | sdk/go/hydra/client/health/is_instance_alive_parameters.go | WithContext | func (o *IsInstanceAliveParams) WithContext(ctx context.Context) *IsInstanceAliveParams {
o.SetContext(ctx)
return o
} | go | func (o *IsInstanceAliveParams) WithContext(ctx context.Context) *IsInstanceAliveParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"IsInstanceAliveParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"IsInstanceAliveParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the is instance alive params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"is",
"instance",
"alive",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/health/is_instance_alive_parameters.go#L80-L83 |
134,315 | ory/hydra | sdk/go/hydra/client/health/is_instance_alive_parameters.go | WithHTTPClient | func (o *IsInstanceAliveParams) WithHTTPClient(client *http.Client) *IsInstanceAliveParams {
o.SetHTTPClient(client)
return o
} | go | func (o *IsInstanceAliveParams) WithHTTPClient(client *http.Client) *IsInstanceAliveParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"IsInstanceAliveParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"IsInstanceAliveParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the is instance alive params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"is",
"instance",
"alive",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/health/is_instance_alive_parameters.go#L91-L94 |
134,316 | ory/hydra | sdk/go/hydra/client/admin/accept_login_request_parameters.go | WithTimeout | func (o *AcceptLoginRequestParams) WithTimeout(timeout time.Duration) *AcceptLoginRequestParams {
o.SetTimeout(timeout)
return o
} | go | func (o *AcceptLoginRequestParams) WithTimeout(timeout time.Duration) *AcceptLoginRequestParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"AcceptLoginRequestParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"AcceptLoginRequestParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the accept login request params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"accept",
"login",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/accept_login_request_parameters.go#L77-L80 |
134,317 | ory/hydra | sdk/go/hydra/client/admin/accept_login_request_parameters.go | WithContext | func (o *AcceptLoginRequestParams) WithContext(ctx context.Context) *AcceptLoginRequestParams {
o.SetContext(ctx)
return o
} | go | func (o *AcceptLoginRequestParams) WithContext(ctx context.Context) *AcceptLoginRequestParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"AcceptLoginRequestParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"AcceptLoginRequestParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the accept login request params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"accept",
"login",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/accept_login_request_parameters.go#L88-L91 |
134,318 | ory/hydra | sdk/go/hydra/client/admin/accept_login_request_parameters.go | WithHTTPClient | func (o *AcceptLoginRequestParams) WithHTTPClient(client *http.Client) *AcceptLoginRequestParams {
o.SetHTTPClient(client)
return o
} | go | func (o *AcceptLoginRequestParams) WithHTTPClient(client *http.Client) *AcceptLoginRequestParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"AcceptLoginRequestParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"AcceptLoginRequestParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the accept login request params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"accept",
"login",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/accept_login_request_parameters.go#L99-L102 |
134,319 | ory/hydra | sdk/go/hydra/client/admin/accept_login_request_parameters.go | WithBody | func (o *AcceptLoginRequestParams) WithBody(body *models.HandledLoginRequest) *AcceptLoginRequestParams {
o.SetBody(body)
return o
} | go | func (o *AcceptLoginRequestParams) WithBody(body *models.HandledLoginRequest) *AcceptLoginRequestParams {
o.SetBody(body)
return o
} | [
"func",
"(",
"o",
"*",
"AcceptLoginRequestParams",
")",
"WithBody",
"(",
"body",
"*",
"models",
".",
"HandledLoginRequest",
")",
"*",
"AcceptLoginRequestParams",
"{",
"o",
".",
"SetBody",
"(",
"body",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithBody adds the body to the accept login request params | [
"WithBody",
"adds",
"the",
"body",
"to",
"the",
"accept",
"login",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/accept_login_request_parameters.go#L110-L113 |
134,320 | ory/hydra | sdk/go/hydra/client/admin/accept_login_request_parameters.go | WithLoginChallenge | func (o *AcceptLoginRequestParams) WithLoginChallenge(loginChallenge string) *AcceptLoginRequestParams {
o.SetLoginChallenge(loginChallenge)
return o
} | go | func (o *AcceptLoginRequestParams) WithLoginChallenge(loginChallenge string) *AcceptLoginRequestParams {
o.SetLoginChallenge(loginChallenge)
return o
} | [
"func",
"(",
"o",
"*",
"AcceptLoginRequestParams",
")",
"WithLoginChallenge",
"(",
"loginChallenge",
"string",
")",
"*",
"AcceptLoginRequestParams",
"{",
"o",
".",
"SetLoginChallenge",
"(",
"loginChallenge",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithLoginChallenge adds the loginChallenge to the accept login request params | [
"WithLoginChallenge",
"adds",
"the",
"loginChallenge",
"to",
"the",
"accept",
"login",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/accept_login_request_parameters.go#L121-L124 |
134,321 | ory/hydra | sdk/go/hydra/models/well_known.go | Validate | func (m *WellKnown) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateAuthURL(formats); err != nil {
res = append(res, err)
}
if err := m.validateIDTokenSigningAlgValuesSupported(formats); err != nil {
res = append(res, err)
}
if err := m.validateIssuer(formats); err != nil {
... | go | func (m *WellKnown) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateAuthURL(formats); err != nil {
res = append(res, err)
}
if err := m.validateIDTokenSigningAlgValuesSupported(formats); err != nil {
res = append(res, err)
}
if err := m.validateIssuer(formats); err != nil {
... | [
"func",
"(",
"m",
"*",
"WellKnown",
")",
"Validate",
"(",
"formats",
"strfmt",
".",
"Registry",
")",
"error",
"{",
"var",
"res",
"[",
"]",
"error",
"\n\n",
"if",
"err",
":=",
"m",
".",
"validateAuthURL",
"(",
"formats",
")",
";",
"err",
"!=",
"nil",
... | // Validate validates this well known | [
"Validate",
"validates",
"this",
"well",
"known"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/models/well_known.go#L125-L160 |
134,322 | ory/hydra | sdk/go/hydra/client/admin/get_consent_request_parameters.go | WithTimeout | func (o *GetConsentRequestParams) WithTimeout(timeout time.Duration) *GetConsentRequestParams {
o.SetTimeout(timeout)
return o
} | go | func (o *GetConsentRequestParams) WithTimeout(timeout time.Duration) *GetConsentRequestParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"GetConsentRequestParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"GetConsentRequestParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the get consent request params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"get",
"consent",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_consent_request_parameters.go#L73-L76 |
134,323 | ory/hydra | sdk/go/hydra/client/admin/get_consent_request_parameters.go | WithContext | func (o *GetConsentRequestParams) WithContext(ctx context.Context) *GetConsentRequestParams {
o.SetContext(ctx)
return o
} | go | func (o *GetConsentRequestParams) WithContext(ctx context.Context) *GetConsentRequestParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"GetConsentRequestParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"GetConsentRequestParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the get consent request params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"get",
"consent",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_consent_request_parameters.go#L84-L87 |
134,324 | ory/hydra | sdk/go/hydra/client/admin/get_consent_request_parameters.go | WithHTTPClient | func (o *GetConsentRequestParams) WithHTTPClient(client *http.Client) *GetConsentRequestParams {
o.SetHTTPClient(client)
return o
} | go | func (o *GetConsentRequestParams) WithHTTPClient(client *http.Client) *GetConsentRequestParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"GetConsentRequestParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"GetConsentRequestParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the get consent request params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"get",
"consent",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_consent_request_parameters.go#L95-L98 |
134,325 | ory/hydra | sdk/go/hydra/client/admin/get_consent_request_parameters.go | WithConsentChallenge | func (o *GetConsentRequestParams) WithConsentChallenge(consentChallenge string) *GetConsentRequestParams {
o.SetConsentChallenge(consentChallenge)
return o
} | go | func (o *GetConsentRequestParams) WithConsentChallenge(consentChallenge string) *GetConsentRequestParams {
o.SetConsentChallenge(consentChallenge)
return o
} | [
"func",
"(",
"o",
"*",
"GetConsentRequestParams",
")",
"WithConsentChallenge",
"(",
"consentChallenge",
"string",
")",
"*",
"GetConsentRequestParams",
"{",
"o",
".",
"SetConsentChallenge",
"(",
"consentChallenge",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithConsentChallenge adds the consentChallenge to the get consent request params | [
"WithConsentChallenge",
"adds",
"the",
"consentChallenge",
"to",
"the",
"get",
"consent",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_consent_request_parameters.go#L106-L109 |
134,326 | ory/hydra | sdk/go/hydra/client/admin/admin_client.go | New | func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client {
return &Client{transport: transport, formats: formats}
} | go | func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client {
return &Client{transport: transport, formats: formats}
} | [
"func",
"New",
"(",
"transport",
"runtime",
".",
"ClientTransport",
",",
"formats",
"strfmt",
".",
"Registry",
")",
"*",
"Client",
"{",
"return",
"&",
"Client",
"{",
"transport",
":",
"transport",
",",
"formats",
":",
"formats",
"}",
"\n",
"}"
] | // New creates a new admin API client. | [
"New",
"creates",
"a",
"new",
"admin",
"API",
"client",
"."
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/admin_client.go#L15-L17 |
134,327 | ory/hydra | sdk/go/hydra/client/admin/get_logout_request_parameters.go | WithTimeout | func (o *GetLogoutRequestParams) WithTimeout(timeout time.Duration) *GetLogoutRequestParams {
o.SetTimeout(timeout)
return o
} | go | func (o *GetLogoutRequestParams) WithTimeout(timeout time.Duration) *GetLogoutRequestParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"GetLogoutRequestParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"GetLogoutRequestParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the get logout request params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"get",
"logout",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_logout_request_parameters.go#L73-L76 |
134,328 | ory/hydra | sdk/go/hydra/client/admin/get_logout_request_parameters.go | WithContext | func (o *GetLogoutRequestParams) WithContext(ctx context.Context) *GetLogoutRequestParams {
o.SetContext(ctx)
return o
} | go | func (o *GetLogoutRequestParams) WithContext(ctx context.Context) *GetLogoutRequestParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"GetLogoutRequestParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"GetLogoutRequestParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the get logout request params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"get",
"logout",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_logout_request_parameters.go#L84-L87 |
134,329 | ory/hydra | sdk/go/hydra/client/admin/get_logout_request_parameters.go | WithHTTPClient | func (o *GetLogoutRequestParams) WithHTTPClient(client *http.Client) *GetLogoutRequestParams {
o.SetHTTPClient(client)
return o
} | go | func (o *GetLogoutRequestParams) WithHTTPClient(client *http.Client) *GetLogoutRequestParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"GetLogoutRequestParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"GetLogoutRequestParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the get logout request params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"get",
"logout",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_logout_request_parameters.go#L95-L98 |
134,330 | ory/hydra | sdk/go/hydra/client/admin/get_logout_request_parameters.go | WithLogoutChallenge | func (o *GetLogoutRequestParams) WithLogoutChallenge(logoutChallenge string) *GetLogoutRequestParams {
o.SetLogoutChallenge(logoutChallenge)
return o
} | go | func (o *GetLogoutRequestParams) WithLogoutChallenge(logoutChallenge string) *GetLogoutRequestParams {
o.SetLogoutChallenge(logoutChallenge)
return o
} | [
"func",
"(",
"o",
"*",
"GetLogoutRequestParams",
")",
"WithLogoutChallenge",
"(",
"logoutChallenge",
"string",
")",
"*",
"GetLogoutRequestParams",
"{",
"o",
".",
"SetLogoutChallenge",
"(",
"logoutChallenge",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithLogoutChallenge adds the logoutChallenge to the get logout request params | [
"WithLogoutChallenge",
"adds",
"the",
"logoutChallenge",
"to",
"the",
"get",
"logout",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_logout_request_parameters.go#L106-L109 |
134,331 | ory/hydra | sdk/go/hydra/client/admin/delete_json_web_key_parameters.go | WithTimeout | func (o *DeleteJSONWebKeyParams) WithTimeout(timeout time.Duration) *DeleteJSONWebKeyParams {
o.SetTimeout(timeout)
return o
} | go | func (o *DeleteJSONWebKeyParams) WithTimeout(timeout time.Duration) *DeleteJSONWebKeyParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"DeleteJSONWebKeyParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"DeleteJSONWebKeyParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the delete Json web key params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"delete",
"Json",
"web",
"key",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/delete_json_web_key_parameters.go#L81-L84 |
134,332 | ory/hydra | sdk/go/hydra/client/admin/delete_json_web_key_parameters.go | WithContext | func (o *DeleteJSONWebKeyParams) WithContext(ctx context.Context) *DeleteJSONWebKeyParams {
o.SetContext(ctx)
return o
} | go | func (o *DeleteJSONWebKeyParams) WithContext(ctx context.Context) *DeleteJSONWebKeyParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"DeleteJSONWebKeyParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"DeleteJSONWebKeyParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the delete Json web key params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"delete",
"Json",
"web",
"key",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/delete_json_web_key_parameters.go#L92-L95 |
134,333 | ory/hydra | sdk/go/hydra/client/admin/delete_json_web_key_parameters.go | WithHTTPClient | func (o *DeleteJSONWebKeyParams) WithHTTPClient(client *http.Client) *DeleteJSONWebKeyParams {
o.SetHTTPClient(client)
return o
} | go | func (o *DeleteJSONWebKeyParams) WithHTTPClient(client *http.Client) *DeleteJSONWebKeyParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"DeleteJSONWebKeyParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"DeleteJSONWebKeyParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the delete Json web key params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"delete",
"Json",
"web",
"key",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/delete_json_web_key_parameters.go#L103-L106 |
134,334 | ory/hydra | sdk/go/hydra/client/admin/delete_json_web_key_parameters.go | WithKid | func (o *DeleteJSONWebKeyParams) WithKid(kid string) *DeleteJSONWebKeyParams {
o.SetKid(kid)
return o
} | go | func (o *DeleteJSONWebKeyParams) WithKid(kid string) *DeleteJSONWebKeyParams {
o.SetKid(kid)
return o
} | [
"func",
"(",
"o",
"*",
"DeleteJSONWebKeyParams",
")",
"WithKid",
"(",
"kid",
"string",
")",
"*",
"DeleteJSONWebKeyParams",
"{",
"o",
".",
"SetKid",
"(",
"kid",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithKid adds the kid to the delete Json web key params | [
"WithKid",
"adds",
"the",
"kid",
"to",
"the",
"delete",
"Json",
"web",
"key",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/delete_json_web_key_parameters.go#L114-L117 |
134,335 | ory/hydra | sdk/go/hydra/client/admin/delete_json_web_key_parameters.go | WithSet | func (o *DeleteJSONWebKeyParams) WithSet(set string) *DeleteJSONWebKeyParams {
o.SetSet(set)
return o
} | go | func (o *DeleteJSONWebKeyParams) WithSet(set string) *DeleteJSONWebKeyParams {
o.SetSet(set)
return o
} | [
"func",
"(",
"o",
"*",
"DeleteJSONWebKeyParams",
")",
"WithSet",
"(",
"set",
"string",
")",
"*",
"DeleteJSONWebKeyParams",
"{",
"o",
".",
"SetSet",
"(",
"set",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithSet adds the set to the delete Json web key params | [
"WithSet",
"adds",
"the",
"set",
"to",
"the",
"delete",
"Json",
"web",
"key",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/delete_json_web_key_parameters.go#L125-L128 |
134,336 | ory/hydra | sdk/go/hydra/client/version/get_version_parameters.go | WithTimeout | func (o *GetVersionParams) WithTimeout(timeout time.Duration) *GetVersionParams {
o.SetTimeout(timeout)
return o
} | go | func (o *GetVersionParams) WithTimeout(timeout time.Duration) *GetVersionParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"GetVersionParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"GetVersionParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the get version params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"get",
"version",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/version/get_version_parameters.go#L69-L72 |
134,337 | ory/hydra | sdk/go/hydra/client/version/get_version_parameters.go | WithContext | func (o *GetVersionParams) WithContext(ctx context.Context) *GetVersionParams {
o.SetContext(ctx)
return o
} | go | func (o *GetVersionParams) WithContext(ctx context.Context) *GetVersionParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"GetVersionParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"GetVersionParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the get version params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"get",
"version",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/version/get_version_parameters.go#L80-L83 |
134,338 | ory/hydra | sdk/go/hydra/client/version/get_version_parameters.go | WithHTTPClient | func (o *GetVersionParams) WithHTTPClient(client *http.Client) *GetVersionParams {
o.SetHTTPClient(client)
return o
} | go | func (o *GetVersionParams) WithHTTPClient(client *http.Client) *GetVersionParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"GetVersionParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"GetVersionParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the get version params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"get",
"version",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/version/get_version_parameters.go#L91-L94 |
134,339 | ory/hydra | x/secret.go | HashByteSecret | func HashByteSecret(secret []byte) []byte {
var r [32]byte
r = sha256.Sum256([]byte(secret))
return r[:]
} | go | func HashByteSecret(secret []byte) []byte {
var r [32]byte
r = sha256.Sum256([]byte(secret))
return r[:]
} | [
"func",
"HashByteSecret",
"(",
"secret",
"[",
"]",
"byte",
")",
"[",
"]",
"byte",
"{",
"var",
"r",
"[",
"32",
"]",
"byte",
"\n",
"r",
"=",
"sha256",
".",
"Sum256",
"(",
"[",
"]",
"byte",
"(",
"secret",
")",
")",
"\n",
"return",
"r",
"[",
":",
... | // HashByteSecret hashes the secret for consumption by the AEAD encryption algorithm which expects exactly 32 bytes.
//
// The system secret is being hashed to always match exactly the 32 bytes required by AEAD, even if the secret is long or
// shorter. | [
"HashByteSecret",
"hashes",
"the",
"secret",
"for",
"consumption",
"by",
"the",
"AEAD",
"encryption",
"algorithm",
"which",
"expects",
"exactly",
"32",
"bytes",
".",
"The",
"system",
"secret",
"is",
"being",
"hashed",
"to",
"always",
"match",
"exactly",
"the",
... | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/x/secret.go#L51-L55 |
134,340 | ory/hydra | sdk/go/hydra/client/admin/get_o_auth2_client_parameters.go | WithTimeout | func (o *GetOAuth2ClientParams) WithTimeout(timeout time.Duration) *GetOAuth2ClientParams {
o.SetTimeout(timeout)
return o
} | go | func (o *GetOAuth2ClientParams) WithTimeout(timeout time.Duration) *GetOAuth2ClientParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"GetOAuth2ClientParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"GetOAuth2ClientParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the get o auth2 client params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"get",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_o_auth2_client_parameters.go#L76-L79 |
134,341 | ory/hydra | sdk/go/hydra/client/admin/get_o_auth2_client_parameters.go | WithContext | func (o *GetOAuth2ClientParams) WithContext(ctx context.Context) *GetOAuth2ClientParams {
o.SetContext(ctx)
return o
} | go | func (o *GetOAuth2ClientParams) WithContext(ctx context.Context) *GetOAuth2ClientParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"GetOAuth2ClientParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"GetOAuth2ClientParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the get o auth2 client params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"get",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_o_auth2_client_parameters.go#L87-L90 |
134,342 | ory/hydra | sdk/go/hydra/client/admin/get_o_auth2_client_parameters.go | WithHTTPClient | func (o *GetOAuth2ClientParams) WithHTTPClient(client *http.Client) *GetOAuth2ClientParams {
o.SetHTTPClient(client)
return o
} | go | func (o *GetOAuth2ClientParams) WithHTTPClient(client *http.Client) *GetOAuth2ClientParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"GetOAuth2ClientParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"GetOAuth2ClientParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the get o auth2 client params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"get",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_o_auth2_client_parameters.go#L98-L101 |
134,343 | ory/hydra | sdk/go/hydra/client/admin/get_o_auth2_client_parameters.go | WithID | func (o *GetOAuth2ClientParams) WithID(id string) *GetOAuth2ClientParams {
o.SetID(id)
return o
} | go | func (o *GetOAuth2ClientParams) WithID(id string) *GetOAuth2ClientParams {
o.SetID(id)
return o
} | [
"func",
"(",
"o",
"*",
"GetOAuth2ClientParams",
")",
"WithID",
"(",
"id",
"string",
")",
"*",
"GetOAuth2ClientParams",
"{",
"o",
".",
"SetID",
"(",
"id",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithID adds the id to the get o auth2 client params | [
"WithID",
"adds",
"the",
"id",
"to",
"the",
"get",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_o_auth2_client_parameters.go#L109-L112 |
134,344 | ory/hydra | sdk/go/hydra/client/admin/accept_logout_request_parameters.go | WithTimeout | func (o *AcceptLogoutRequestParams) WithTimeout(timeout time.Duration) *AcceptLogoutRequestParams {
o.SetTimeout(timeout)
return o
} | go | func (o *AcceptLogoutRequestParams) WithTimeout(timeout time.Duration) *AcceptLogoutRequestParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"AcceptLogoutRequestParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"AcceptLogoutRequestParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the accept logout request params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"accept",
"logout",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/accept_logout_request_parameters.go#L73-L76 |
134,345 | ory/hydra | sdk/go/hydra/client/admin/accept_logout_request_parameters.go | WithContext | func (o *AcceptLogoutRequestParams) WithContext(ctx context.Context) *AcceptLogoutRequestParams {
o.SetContext(ctx)
return o
} | go | func (o *AcceptLogoutRequestParams) WithContext(ctx context.Context) *AcceptLogoutRequestParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"AcceptLogoutRequestParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"AcceptLogoutRequestParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the accept logout request params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"accept",
"logout",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/accept_logout_request_parameters.go#L84-L87 |
134,346 | ory/hydra | sdk/go/hydra/client/admin/accept_logout_request_parameters.go | WithHTTPClient | func (o *AcceptLogoutRequestParams) WithHTTPClient(client *http.Client) *AcceptLogoutRequestParams {
o.SetHTTPClient(client)
return o
} | go | func (o *AcceptLogoutRequestParams) WithHTTPClient(client *http.Client) *AcceptLogoutRequestParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"AcceptLogoutRequestParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"AcceptLogoutRequestParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the accept logout request params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"accept",
"logout",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/accept_logout_request_parameters.go#L95-L98 |
134,347 | ory/hydra | sdk/go/hydra/client/admin/accept_logout_request_parameters.go | WithLogoutChallenge | func (o *AcceptLogoutRequestParams) WithLogoutChallenge(logoutChallenge string) *AcceptLogoutRequestParams {
o.SetLogoutChallenge(logoutChallenge)
return o
} | go | func (o *AcceptLogoutRequestParams) WithLogoutChallenge(logoutChallenge string) *AcceptLogoutRequestParams {
o.SetLogoutChallenge(logoutChallenge)
return o
} | [
"func",
"(",
"o",
"*",
"AcceptLogoutRequestParams",
")",
"WithLogoutChallenge",
"(",
"logoutChallenge",
"string",
")",
"*",
"AcceptLogoutRequestParams",
"{",
"o",
".",
"SetLogoutChallenge",
"(",
"logoutChallenge",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithLogoutChallenge adds the logoutChallenge to the accept logout request params | [
"WithLogoutChallenge",
"adds",
"the",
"logoutChallenge",
"to",
"the",
"accept",
"logout",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/accept_logout_request_parameters.go#L106-L109 |
134,348 | ory/hydra | sdk/go/hydra/client/admin/flush_inactive_o_auth2_tokens_parameters.go | WithTimeout | func (o *FlushInactiveOAuth2TokensParams) WithTimeout(timeout time.Duration) *FlushInactiveOAuth2TokensParams {
o.SetTimeout(timeout)
return o
} | go | func (o *FlushInactiveOAuth2TokensParams) WithTimeout(timeout time.Duration) *FlushInactiveOAuth2TokensParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"FlushInactiveOAuth2TokensParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"FlushInactiveOAuth2TokensParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the flush inactive o auth2 tokens params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"flush",
"inactive",
"o",
"auth2",
"tokens",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/flush_inactive_o_auth2_tokens_parameters.go#L75-L78 |
134,349 | ory/hydra | sdk/go/hydra/client/admin/flush_inactive_o_auth2_tokens_parameters.go | WithContext | func (o *FlushInactiveOAuth2TokensParams) WithContext(ctx context.Context) *FlushInactiveOAuth2TokensParams {
o.SetContext(ctx)
return o
} | go | func (o *FlushInactiveOAuth2TokensParams) WithContext(ctx context.Context) *FlushInactiveOAuth2TokensParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"FlushInactiveOAuth2TokensParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"FlushInactiveOAuth2TokensParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the flush inactive o auth2 tokens params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"flush",
"inactive",
"o",
"auth2",
"tokens",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/flush_inactive_o_auth2_tokens_parameters.go#L86-L89 |
134,350 | ory/hydra | sdk/go/hydra/client/admin/flush_inactive_o_auth2_tokens_parameters.go | WithHTTPClient | func (o *FlushInactiveOAuth2TokensParams) WithHTTPClient(client *http.Client) *FlushInactiveOAuth2TokensParams {
o.SetHTTPClient(client)
return o
} | go | func (o *FlushInactiveOAuth2TokensParams) WithHTTPClient(client *http.Client) *FlushInactiveOAuth2TokensParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"FlushInactiveOAuth2TokensParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"FlushInactiveOAuth2TokensParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the flush inactive o auth2 tokens params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"flush",
"inactive",
"o",
"auth2",
"tokens",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/flush_inactive_o_auth2_tokens_parameters.go#L97-L100 |
134,351 | ory/hydra | sdk/go/hydra/client/admin/flush_inactive_o_auth2_tokens_parameters.go | WithBody | func (o *FlushInactiveOAuth2TokensParams) WithBody(body *models.FlushInactiveOAuth2TokensRequest) *FlushInactiveOAuth2TokensParams {
o.SetBody(body)
return o
} | go | func (o *FlushInactiveOAuth2TokensParams) WithBody(body *models.FlushInactiveOAuth2TokensRequest) *FlushInactiveOAuth2TokensParams {
o.SetBody(body)
return o
} | [
"func",
"(",
"o",
"*",
"FlushInactiveOAuth2TokensParams",
")",
"WithBody",
"(",
"body",
"*",
"models",
".",
"FlushInactiveOAuth2TokensRequest",
")",
"*",
"FlushInactiveOAuth2TokensParams",
"{",
"o",
".",
"SetBody",
"(",
"body",
")",
"\n",
"return",
"o",
"\n",
"}... | // WithBody adds the body to the flush inactive o auth2 tokens params | [
"WithBody",
"adds",
"the",
"body",
"to",
"the",
"flush",
"inactive",
"o",
"auth2",
"tokens",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/flush_inactive_o_auth2_tokens_parameters.go#L108-L111 |
134,352 | ory/hydra | sdk/go/hydra/client/admin/reject_login_request_parameters.go | WithTimeout | func (o *RejectLoginRequestParams) WithTimeout(timeout time.Duration) *RejectLoginRequestParams {
o.SetTimeout(timeout)
return o
} | go | func (o *RejectLoginRequestParams) WithTimeout(timeout time.Duration) *RejectLoginRequestParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"RejectLoginRequestParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"RejectLoginRequestParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the reject login request params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"reject",
"login",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/reject_login_request_parameters.go#L77-L80 |
134,353 | ory/hydra | sdk/go/hydra/client/admin/reject_login_request_parameters.go | WithContext | func (o *RejectLoginRequestParams) WithContext(ctx context.Context) *RejectLoginRequestParams {
o.SetContext(ctx)
return o
} | go | func (o *RejectLoginRequestParams) WithContext(ctx context.Context) *RejectLoginRequestParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"RejectLoginRequestParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"RejectLoginRequestParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the reject login request params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"reject",
"login",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/reject_login_request_parameters.go#L88-L91 |
134,354 | ory/hydra | sdk/go/hydra/client/admin/reject_login_request_parameters.go | WithHTTPClient | func (o *RejectLoginRequestParams) WithHTTPClient(client *http.Client) *RejectLoginRequestParams {
o.SetHTTPClient(client)
return o
} | go | func (o *RejectLoginRequestParams) WithHTTPClient(client *http.Client) *RejectLoginRequestParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"RejectLoginRequestParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"RejectLoginRequestParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the reject login request params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"reject",
"login",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/reject_login_request_parameters.go#L99-L102 |
134,355 | ory/hydra | sdk/go/hydra/client/admin/reject_login_request_parameters.go | WithBody | func (o *RejectLoginRequestParams) WithBody(body *models.RequestDeniedError) *RejectLoginRequestParams {
o.SetBody(body)
return o
} | go | func (o *RejectLoginRequestParams) WithBody(body *models.RequestDeniedError) *RejectLoginRequestParams {
o.SetBody(body)
return o
} | [
"func",
"(",
"o",
"*",
"RejectLoginRequestParams",
")",
"WithBody",
"(",
"body",
"*",
"models",
".",
"RequestDeniedError",
")",
"*",
"RejectLoginRequestParams",
"{",
"o",
".",
"SetBody",
"(",
"body",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithBody adds the body to the reject login request params | [
"WithBody",
"adds",
"the",
"body",
"to",
"the",
"reject",
"login",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/reject_login_request_parameters.go#L110-L113 |
134,356 | ory/hydra | sdk/go/hydra/client/admin/reject_login_request_parameters.go | WithLoginChallenge | func (o *RejectLoginRequestParams) WithLoginChallenge(loginChallenge string) *RejectLoginRequestParams {
o.SetLoginChallenge(loginChallenge)
return o
} | go | func (o *RejectLoginRequestParams) WithLoginChallenge(loginChallenge string) *RejectLoginRequestParams {
o.SetLoginChallenge(loginChallenge)
return o
} | [
"func",
"(",
"o",
"*",
"RejectLoginRequestParams",
")",
"WithLoginChallenge",
"(",
"loginChallenge",
"string",
")",
"*",
"RejectLoginRequestParams",
"{",
"o",
".",
"SetLoginChallenge",
"(",
"loginChallenge",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithLoginChallenge adds the loginChallenge to the reject login request params | [
"WithLoginChallenge",
"adds",
"the",
"loginChallenge",
"to",
"the",
"reject",
"login",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/reject_login_request_parameters.go#L121-L124 |
134,357 | ory/hydra | sdk/go/hydra/client/public/discover_open_id_configuration_parameters.go | WithTimeout | func (o *DiscoverOpenIDConfigurationParams) WithTimeout(timeout time.Duration) *DiscoverOpenIDConfigurationParams {
o.SetTimeout(timeout)
return o
} | go | func (o *DiscoverOpenIDConfigurationParams) WithTimeout(timeout time.Duration) *DiscoverOpenIDConfigurationParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"DiscoverOpenIDConfigurationParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"DiscoverOpenIDConfigurationParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the discover open ID configuration params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"discover",
"open",
"ID",
"configuration",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/public/discover_open_id_configuration_parameters.go#L69-L72 |
134,358 | ory/hydra | sdk/go/hydra/client/public/discover_open_id_configuration_parameters.go | WithContext | func (o *DiscoverOpenIDConfigurationParams) WithContext(ctx context.Context) *DiscoverOpenIDConfigurationParams {
o.SetContext(ctx)
return o
} | go | func (o *DiscoverOpenIDConfigurationParams) WithContext(ctx context.Context) *DiscoverOpenIDConfigurationParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"DiscoverOpenIDConfigurationParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"DiscoverOpenIDConfigurationParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the discover open ID configuration params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"discover",
"open",
"ID",
"configuration",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/public/discover_open_id_configuration_parameters.go#L80-L83 |
134,359 | ory/hydra | sdk/go/hydra/client/public/discover_open_id_configuration_parameters.go | WithHTTPClient | func (o *DiscoverOpenIDConfigurationParams) WithHTTPClient(client *http.Client) *DiscoverOpenIDConfigurationParams {
o.SetHTTPClient(client)
return o
} | go | func (o *DiscoverOpenIDConfigurationParams) WithHTTPClient(client *http.Client) *DiscoverOpenIDConfigurationParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"DiscoverOpenIDConfigurationParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"DiscoverOpenIDConfigurationParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the discover open ID configuration params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"discover",
"open",
"ID",
"configuration",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/public/discover_open_id_configuration_parameters.go#L91-L94 |
134,360 | ory/hydra | sdk/go/hydra/client/admin/get_json_web_key_set_parameters.go | WithTimeout | func (o *GetJSONWebKeySetParams) WithTimeout(timeout time.Duration) *GetJSONWebKeySetParams {
o.SetTimeout(timeout)
return o
} | go | func (o *GetJSONWebKeySetParams) WithTimeout(timeout time.Duration) *GetJSONWebKeySetParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"GetJSONWebKeySetParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"GetJSONWebKeySetParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the get Json web key set params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"get",
"Json",
"web",
"key",
"set",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_json_web_key_set_parameters.go#L76-L79 |
134,361 | ory/hydra | sdk/go/hydra/client/admin/get_json_web_key_set_parameters.go | WithContext | func (o *GetJSONWebKeySetParams) WithContext(ctx context.Context) *GetJSONWebKeySetParams {
o.SetContext(ctx)
return o
} | go | func (o *GetJSONWebKeySetParams) WithContext(ctx context.Context) *GetJSONWebKeySetParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"GetJSONWebKeySetParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"GetJSONWebKeySetParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the get Json web key set params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"get",
"Json",
"web",
"key",
"set",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_json_web_key_set_parameters.go#L87-L90 |
134,362 | ory/hydra | sdk/go/hydra/client/admin/get_json_web_key_set_parameters.go | WithHTTPClient | func (o *GetJSONWebKeySetParams) WithHTTPClient(client *http.Client) *GetJSONWebKeySetParams {
o.SetHTTPClient(client)
return o
} | go | func (o *GetJSONWebKeySetParams) WithHTTPClient(client *http.Client) *GetJSONWebKeySetParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"GetJSONWebKeySetParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"GetJSONWebKeySetParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the get Json web key set params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"get",
"Json",
"web",
"key",
"set",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_json_web_key_set_parameters.go#L98-L101 |
134,363 | ory/hydra | sdk/go/hydra/client/admin/get_json_web_key_set_parameters.go | WithSet | func (o *GetJSONWebKeySetParams) WithSet(set string) *GetJSONWebKeySetParams {
o.SetSet(set)
return o
} | go | func (o *GetJSONWebKeySetParams) WithSet(set string) *GetJSONWebKeySetParams {
o.SetSet(set)
return o
} | [
"func",
"(",
"o",
"*",
"GetJSONWebKeySetParams",
")",
"WithSet",
"(",
"set",
"string",
")",
"*",
"GetJSONWebKeySetParams",
"{",
"o",
".",
"SetSet",
"(",
"set",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithSet adds the set to the get Json web key set params | [
"WithSet",
"adds",
"the",
"set",
"to",
"the",
"get",
"Json",
"web",
"key",
"set",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_json_web_key_set_parameters.go#L109-L112 |
134,364 | ory/hydra | sdk/go/hydra/client/admin/reject_consent_request_parameters.go | WithTimeout | func (o *RejectConsentRequestParams) WithTimeout(timeout time.Duration) *RejectConsentRequestParams {
o.SetTimeout(timeout)
return o
} | go | func (o *RejectConsentRequestParams) WithTimeout(timeout time.Duration) *RejectConsentRequestParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"RejectConsentRequestParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"RejectConsentRequestParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the reject consent request params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"reject",
"consent",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/reject_consent_request_parameters.go#L77-L80 |
134,365 | ory/hydra | sdk/go/hydra/client/admin/reject_consent_request_parameters.go | WithContext | func (o *RejectConsentRequestParams) WithContext(ctx context.Context) *RejectConsentRequestParams {
o.SetContext(ctx)
return o
} | go | func (o *RejectConsentRequestParams) WithContext(ctx context.Context) *RejectConsentRequestParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"RejectConsentRequestParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"RejectConsentRequestParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the reject consent request params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"reject",
"consent",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/reject_consent_request_parameters.go#L88-L91 |
134,366 | ory/hydra | sdk/go/hydra/client/admin/reject_consent_request_parameters.go | WithHTTPClient | func (o *RejectConsentRequestParams) WithHTTPClient(client *http.Client) *RejectConsentRequestParams {
o.SetHTTPClient(client)
return o
} | go | func (o *RejectConsentRequestParams) WithHTTPClient(client *http.Client) *RejectConsentRequestParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"RejectConsentRequestParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"RejectConsentRequestParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the reject consent request params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"reject",
"consent",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/reject_consent_request_parameters.go#L99-L102 |
134,367 | ory/hydra | sdk/go/hydra/client/admin/reject_consent_request_parameters.go | WithBody | func (o *RejectConsentRequestParams) WithBody(body *models.RequestDeniedError) *RejectConsentRequestParams {
o.SetBody(body)
return o
} | go | func (o *RejectConsentRequestParams) WithBody(body *models.RequestDeniedError) *RejectConsentRequestParams {
o.SetBody(body)
return o
} | [
"func",
"(",
"o",
"*",
"RejectConsentRequestParams",
")",
"WithBody",
"(",
"body",
"*",
"models",
".",
"RequestDeniedError",
")",
"*",
"RejectConsentRequestParams",
"{",
"o",
".",
"SetBody",
"(",
"body",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithBody adds the body to the reject consent request params | [
"WithBody",
"adds",
"the",
"body",
"to",
"the",
"reject",
"consent",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/reject_consent_request_parameters.go#L110-L113 |
134,368 | ory/hydra | sdk/go/hydra/client/admin/reject_consent_request_parameters.go | WithConsentChallenge | func (o *RejectConsentRequestParams) WithConsentChallenge(consentChallenge string) *RejectConsentRequestParams {
o.SetConsentChallenge(consentChallenge)
return o
} | go | func (o *RejectConsentRequestParams) WithConsentChallenge(consentChallenge string) *RejectConsentRequestParams {
o.SetConsentChallenge(consentChallenge)
return o
} | [
"func",
"(",
"o",
"*",
"RejectConsentRequestParams",
")",
"WithConsentChallenge",
"(",
"consentChallenge",
"string",
")",
"*",
"RejectConsentRequestParams",
"{",
"o",
".",
"SetConsentChallenge",
"(",
"consentChallenge",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithConsentChallenge adds the consentChallenge to the reject consent request params | [
"WithConsentChallenge",
"adds",
"the",
"consentChallenge",
"to",
"the",
"reject",
"consent",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/reject_consent_request_parameters.go#L121-L124 |
134,369 | ory/hydra | sdk/go/hydra/client/admin/reject_logout_request_parameters.go | WithTimeout | func (o *RejectLogoutRequestParams) WithTimeout(timeout time.Duration) *RejectLogoutRequestParams {
o.SetTimeout(timeout)
return o
} | go | func (o *RejectLogoutRequestParams) WithTimeout(timeout time.Duration) *RejectLogoutRequestParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"RejectLogoutRequestParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"RejectLogoutRequestParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the reject logout request params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"reject",
"logout",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/reject_logout_request_parameters.go#L77-L80 |
134,370 | ory/hydra | sdk/go/hydra/client/admin/reject_logout_request_parameters.go | WithContext | func (o *RejectLogoutRequestParams) WithContext(ctx context.Context) *RejectLogoutRequestParams {
o.SetContext(ctx)
return o
} | go | func (o *RejectLogoutRequestParams) WithContext(ctx context.Context) *RejectLogoutRequestParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"RejectLogoutRequestParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"RejectLogoutRequestParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the reject logout request params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"reject",
"logout",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/reject_logout_request_parameters.go#L88-L91 |
134,371 | ory/hydra | sdk/go/hydra/client/admin/reject_logout_request_parameters.go | WithHTTPClient | func (o *RejectLogoutRequestParams) WithHTTPClient(client *http.Client) *RejectLogoutRequestParams {
o.SetHTTPClient(client)
return o
} | go | func (o *RejectLogoutRequestParams) WithHTTPClient(client *http.Client) *RejectLogoutRequestParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"RejectLogoutRequestParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"RejectLogoutRequestParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the reject logout request params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"reject",
"logout",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/reject_logout_request_parameters.go#L99-L102 |
134,372 | ory/hydra | sdk/go/hydra/client/admin/reject_logout_request_parameters.go | WithBody | func (o *RejectLogoutRequestParams) WithBody(body *models.RequestDeniedError) *RejectLogoutRequestParams {
o.SetBody(body)
return o
} | go | func (o *RejectLogoutRequestParams) WithBody(body *models.RequestDeniedError) *RejectLogoutRequestParams {
o.SetBody(body)
return o
} | [
"func",
"(",
"o",
"*",
"RejectLogoutRequestParams",
")",
"WithBody",
"(",
"body",
"*",
"models",
".",
"RequestDeniedError",
")",
"*",
"RejectLogoutRequestParams",
"{",
"o",
".",
"SetBody",
"(",
"body",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithBody adds the body to the reject logout request params | [
"WithBody",
"adds",
"the",
"body",
"to",
"the",
"reject",
"logout",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/reject_logout_request_parameters.go#L110-L113 |
134,373 | ory/hydra | sdk/go/hydra/client/admin/reject_logout_request_parameters.go | WithLogoutChallenge | func (o *RejectLogoutRequestParams) WithLogoutChallenge(logoutChallenge string) *RejectLogoutRequestParams {
o.SetLogoutChallenge(logoutChallenge)
return o
} | go | func (o *RejectLogoutRequestParams) WithLogoutChallenge(logoutChallenge string) *RejectLogoutRequestParams {
o.SetLogoutChallenge(logoutChallenge)
return o
} | [
"func",
"(",
"o",
"*",
"RejectLogoutRequestParams",
")",
"WithLogoutChallenge",
"(",
"logoutChallenge",
"string",
")",
"*",
"RejectLogoutRequestParams",
"{",
"o",
".",
"SetLogoutChallenge",
"(",
"logoutChallenge",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithLogoutChallenge adds the logoutChallenge to the reject logout request params | [
"WithLogoutChallenge",
"adds",
"the",
"logoutChallenge",
"to",
"the",
"reject",
"logout",
"request",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/reject_logout_request_parameters.go#L121-L124 |
134,374 | ory/hydra | sdk/go/hydra/models/previous_consent_session.go | Validate | func (m *PreviousConsentSession) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateConsentRequest(formats); err != nil {
res = append(res, err)
}
if err := m.validateSession(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationErro... | go | func (m *PreviousConsentSession) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateConsentRequest(formats); err != nil {
res = append(res, err)
}
if err := m.validateSession(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationErro... | [
"func",
"(",
"m",
"*",
"PreviousConsentSession",
")",
"Validate",
"(",
"formats",
"strfmt",
".",
"Registry",
")",
"error",
"{",
"var",
"res",
"[",
"]",
"error",
"\n\n",
"if",
"err",
":=",
"m",
".",
"validateConsentRequest",
"(",
"formats",
")",
";",
"err... | // Validate validates this previous consent session | [
"Validate",
"validates",
"this",
"previous",
"consent",
"session"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/models/previous_consent_session.go#L42-L57 |
134,375 | ory/hydra | sdk/go/hydra/client/admin/get_json_web_key_parameters.go | WithTimeout | func (o *GetJSONWebKeyParams) WithTimeout(timeout time.Duration) *GetJSONWebKeyParams {
o.SetTimeout(timeout)
return o
} | go | func (o *GetJSONWebKeyParams) WithTimeout(timeout time.Duration) *GetJSONWebKeyParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"GetJSONWebKeyParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"GetJSONWebKeyParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the get Json web key params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"get",
"Json",
"web",
"key",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_json_web_key_parameters.go#L81-L84 |
134,376 | ory/hydra | sdk/go/hydra/client/admin/get_json_web_key_parameters.go | WithContext | func (o *GetJSONWebKeyParams) WithContext(ctx context.Context) *GetJSONWebKeyParams {
o.SetContext(ctx)
return o
} | go | func (o *GetJSONWebKeyParams) WithContext(ctx context.Context) *GetJSONWebKeyParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"GetJSONWebKeyParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"GetJSONWebKeyParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the get Json web key params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"get",
"Json",
"web",
"key",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_json_web_key_parameters.go#L92-L95 |
134,377 | ory/hydra | sdk/go/hydra/client/admin/get_json_web_key_parameters.go | WithHTTPClient | func (o *GetJSONWebKeyParams) WithHTTPClient(client *http.Client) *GetJSONWebKeyParams {
o.SetHTTPClient(client)
return o
} | go | func (o *GetJSONWebKeyParams) WithHTTPClient(client *http.Client) *GetJSONWebKeyParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"GetJSONWebKeyParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"GetJSONWebKeyParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the get Json web key params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"get",
"Json",
"web",
"key",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_json_web_key_parameters.go#L103-L106 |
134,378 | ory/hydra | sdk/go/hydra/client/admin/get_json_web_key_parameters.go | WithKid | func (o *GetJSONWebKeyParams) WithKid(kid string) *GetJSONWebKeyParams {
o.SetKid(kid)
return o
} | go | func (o *GetJSONWebKeyParams) WithKid(kid string) *GetJSONWebKeyParams {
o.SetKid(kid)
return o
} | [
"func",
"(",
"o",
"*",
"GetJSONWebKeyParams",
")",
"WithKid",
"(",
"kid",
"string",
")",
"*",
"GetJSONWebKeyParams",
"{",
"o",
".",
"SetKid",
"(",
"kid",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithKid adds the kid to the get Json web key params | [
"WithKid",
"adds",
"the",
"kid",
"to",
"the",
"get",
"Json",
"web",
"key",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_json_web_key_parameters.go#L114-L117 |
134,379 | ory/hydra | sdk/go/hydra/client/admin/get_json_web_key_parameters.go | WithSet | func (o *GetJSONWebKeyParams) WithSet(set string) *GetJSONWebKeyParams {
o.SetSet(set)
return o
} | go | func (o *GetJSONWebKeyParams) WithSet(set string) *GetJSONWebKeyParams {
o.SetSet(set)
return o
} | [
"func",
"(",
"o",
"*",
"GetJSONWebKeyParams",
")",
"WithSet",
"(",
"set",
"string",
")",
"*",
"GetJSONWebKeyParams",
"{",
"o",
".",
"SetSet",
"(",
"set",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithSet adds the set to the get Json web key params | [
"WithSet",
"adds",
"the",
"set",
"to",
"the",
"get",
"Json",
"web",
"key",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/get_json_web_key_parameters.go#L125-L128 |
134,380 | ory/hydra | sdk/go/hydra/client/admin/delete_json_web_key_set_parameters.go | WithTimeout | func (o *DeleteJSONWebKeySetParams) WithTimeout(timeout time.Duration) *DeleteJSONWebKeySetParams {
o.SetTimeout(timeout)
return o
} | go | func (o *DeleteJSONWebKeySetParams) WithTimeout(timeout time.Duration) *DeleteJSONWebKeySetParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"DeleteJSONWebKeySetParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"DeleteJSONWebKeySetParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the delete Json web key set params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"delete",
"Json",
"web",
"key",
"set",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/delete_json_web_key_set_parameters.go#L76-L79 |
134,381 | ory/hydra | sdk/go/hydra/client/admin/delete_json_web_key_set_parameters.go | WithContext | func (o *DeleteJSONWebKeySetParams) WithContext(ctx context.Context) *DeleteJSONWebKeySetParams {
o.SetContext(ctx)
return o
} | go | func (o *DeleteJSONWebKeySetParams) WithContext(ctx context.Context) *DeleteJSONWebKeySetParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"DeleteJSONWebKeySetParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"DeleteJSONWebKeySetParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the delete Json web key set params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"delete",
"Json",
"web",
"key",
"set",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/delete_json_web_key_set_parameters.go#L87-L90 |
134,382 | ory/hydra | sdk/go/hydra/client/admin/delete_json_web_key_set_parameters.go | WithHTTPClient | func (o *DeleteJSONWebKeySetParams) WithHTTPClient(client *http.Client) *DeleteJSONWebKeySetParams {
o.SetHTTPClient(client)
return o
} | go | func (o *DeleteJSONWebKeySetParams) WithHTTPClient(client *http.Client) *DeleteJSONWebKeySetParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"DeleteJSONWebKeySetParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"DeleteJSONWebKeySetParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the delete Json web key set params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"delete",
"Json",
"web",
"key",
"set",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/delete_json_web_key_set_parameters.go#L98-L101 |
134,383 | ory/hydra | sdk/go/hydra/client/admin/delete_json_web_key_set_parameters.go | WithSet | func (o *DeleteJSONWebKeySetParams) WithSet(set string) *DeleteJSONWebKeySetParams {
o.SetSet(set)
return o
} | go | func (o *DeleteJSONWebKeySetParams) WithSet(set string) *DeleteJSONWebKeySetParams {
o.SetSet(set)
return o
} | [
"func",
"(",
"o",
"*",
"DeleteJSONWebKeySetParams",
")",
"WithSet",
"(",
"set",
"string",
")",
"*",
"DeleteJSONWebKeySetParams",
"{",
"o",
".",
"SetSet",
"(",
"set",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithSet adds the set to the delete Json web key set params | [
"WithSet",
"adds",
"the",
"set",
"to",
"the",
"delete",
"Json",
"web",
"key",
"set",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/delete_json_web_key_set_parameters.go#L109-L112 |
134,384 | ory/hydra | sdk/go/hydra/models/generic_error.go | Validate | func (m *GenericError) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateName(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | go | func (m *GenericError) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateName(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | [
"func",
"(",
"m",
"*",
"GenericError",
")",
"Validate",
"(",
"formats",
"strfmt",
".",
"Registry",
")",
"error",
"{",
"var",
"res",
"[",
"]",
"error",
"\n\n",
"if",
"err",
":=",
"m",
".",
"validateName",
"(",
"formats",
")",
";",
"err",
"!=",
"nil",
... | // Validate validates this generic error | [
"Validate",
"validates",
"this",
"generic",
"error"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/models/generic_error.go#L37-L48 |
134,385 | ory/hydra | sdk/go/hydra/models/swagger_flush_inactive_access_tokens.go | Validate | func (m *SwaggerFlushInactiveAccessTokens) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateBody(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | go | func (m *SwaggerFlushInactiveAccessTokens) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateBody(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | [
"func",
"(",
"m",
"*",
"SwaggerFlushInactiveAccessTokens",
")",
"Validate",
"(",
"formats",
"strfmt",
".",
"Registry",
")",
"error",
"{",
"var",
"res",
"[",
"]",
"error",
"\n\n",
"if",
"err",
":=",
"m",
".",
"validateBody",
"(",
"formats",
")",
";",
"err... | // Validate validates this swagger flush inactive access tokens | [
"Validate",
"validates",
"this",
"swagger",
"flush",
"inactive",
"access",
"tokens"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/models/swagger_flush_inactive_access_tokens.go#L24-L35 |
134,386 | ory/hydra | sdk/go/hydra/client/admin/create_json_web_key_set_parameters.go | WithTimeout | func (o *CreateJSONWebKeySetParams) WithTimeout(timeout time.Duration) *CreateJSONWebKeySetParams {
o.SetTimeout(timeout)
return o
} | go | func (o *CreateJSONWebKeySetParams) WithTimeout(timeout time.Duration) *CreateJSONWebKeySetParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"CreateJSONWebKeySetParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"CreateJSONWebKeySetParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the create Json web key set params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"create",
"Json",
"web",
"key",
"set",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/create_json_web_key_set_parameters.go#L80-L83 |
134,387 | ory/hydra | sdk/go/hydra/client/admin/create_json_web_key_set_parameters.go | WithContext | func (o *CreateJSONWebKeySetParams) WithContext(ctx context.Context) *CreateJSONWebKeySetParams {
o.SetContext(ctx)
return o
} | go | func (o *CreateJSONWebKeySetParams) WithContext(ctx context.Context) *CreateJSONWebKeySetParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"CreateJSONWebKeySetParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"CreateJSONWebKeySetParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the create Json web key set params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"create",
"Json",
"web",
"key",
"set",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/create_json_web_key_set_parameters.go#L91-L94 |
134,388 | ory/hydra | sdk/go/hydra/client/admin/create_json_web_key_set_parameters.go | WithHTTPClient | func (o *CreateJSONWebKeySetParams) WithHTTPClient(client *http.Client) *CreateJSONWebKeySetParams {
o.SetHTTPClient(client)
return o
} | go | func (o *CreateJSONWebKeySetParams) WithHTTPClient(client *http.Client) *CreateJSONWebKeySetParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"CreateJSONWebKeySetParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"CreateJSONWebKeySetParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the create Json web key set params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"create",
"Json",
"web",
"key",
"set",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/create_json_web_key_set_parameters.go#L102-L105 |
134,389 | ory/hydra | sdk/go/hydra/client/admin/create_json_web_key_set_parameters.go | WithBody | func (o *CreateJSONWebKeySetParams) WithBody(body *models.CreateRequest) *CreateJSONWebKeySetParams {
o.SetBody(body)
return o
} | go | func (o *CreateJSONWebKeySetParams) WithBody(body *models.CreateRequest) *CreateJSONWebKeySetParams {
o.SetBody(body)
return o
} | [
"func",
"(",
"o",
"*",
"CreateJSONWebKeySetParams",
")",
"WithBody",
"(",
"body",
"*",
"models",
".",
"CreateRequest",
")",
"*",
"CreateJSONWebKeySetParams",
"{",
"o",
".",
"SetBody",
"(",
"body",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithBody adds the body to the create Json web key set params | [
"WithBody",
"adds",
"the",
"body",
"to",
"the",
"create",
"Json",
"web",
"key",
"set",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/create_json_web_key_set_parameters.go#L113-L116 |
134,390 | ory/hydra | sdk/go/hydra/client/admin/create_json_web_key_set_parameters.go | WithSet | func (o *CreateJSONWebKeySetParams) WithSet(set string) *CreateJSONWebKeySetParams {
o.SetSet(set)
return o
} | go | func (o *CreateJSONWebKeySetParams) WithSet(set string) *CreateJSONWebKeySetParams {
o.SetSet(set)
return o
} | [
"func",
"(",
"o",
"*",
"CreateJSONWebKeySetParams",
")",
"WithSet",
"(",
"set",
"string",
")",
"*",
"CreateJSONWebKeySetParams",
"{",
"o",
".",
"SetSet",
"(",
"set",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithSet adds the set to the create Json web key set params | [
"WithSet",
"adds",
"the",
"set",
"to",
"the",
"create",
"Json",
"web",
"key",
"set",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/create_json_web_key_set_parameters.go#L124-L127 |
134,391 | ory/hydra | sdk/go/hydra/client/admin/revoke_authentication_session_parameters.go | WithTimeout | func (o *RevokeAuthenticationSessionParams) WithTimeout(timeout time.Duration) *RevokeAuthenticationSessionParams {
o.SetTimeout(timeout)
return o
} | go | func (o *RevokeAuthenticationSessionParams) WithTimeout(timeout time.Duration) *RevokeAuthenticationSessionParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"RevokeAuthenticationSessionParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"RevokeAuthenticationSessionParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the revoke authentication session params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"revoke",
"authentication",
"session",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/revoke_authentication_session_parameters.go#L73-L76 |
134,392 | ory/hydra | sdk/go/hydra/client/admin/revoke_authentication_session_parameters.go | WithContext | func (o *RevokeAuthenticationSessionParams) WithContext(ctx context.Context) *RevokeAuthenticationSessionParams {
o.SetContext(ctx)
return o
} | go | func (o *RevokeAuthenticationSessionParams) WithContext(ctx context.Context) *RevokeAuthenticationSessionParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"RevokeAuthenticationSessionParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"RevokeAuthenticationSessionParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the revoke authentication session params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"revoke",
"authentication",
"session",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/revoke_authentication_session_parameters.go#L84-L87 |
134,393 | ory/hydra | sdk/go/hydra/client/admin/revoke_authentication_session_parameters.go | WithHTTPClient | func (o *RevokeAuthenticationSessionParams) WithHTTPClient(client *http.Client) *RevokeAuthenticationSessionParams {
o.SetHTTPClient(client)
return o
} | go | func (o *RevokeAuthenticationSessionParams) WithHTTPClient(client *http.Client) *RevokeAuthenticationSessionParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"RevokeAuthenticationSessionParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"RevokeAuthenticationSessionParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the revoke authentication session params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"revoke",
"authentication",
"session",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/revoke_authentication_session_parameters.go#L95-L98 |
134,394 | ory/hydra | sdk/go/hydra/client/admin/revoke_authentication_session_parameters.go | WithSubject | func (o *RevokeAuthenticationSessionParams) WithSubject(subject string) *RevokeAuthenticationSessionParams {
o.SetSubject(subject)
return o
} | go | func (o *RevokeAuthenticationSessionParams) WithSubject(subject string) *RevokeAuthenticationSessionParams {
o.SetSubject(subject)
return o
} | [
"func",
"(",
"o",
"*",
"RevokeAuthenticationSessionParams",
")",
"WithSubject",
"(",
"subject",
"string",
")",
"*",
"RevokeAuthenticationSessionParams",
"{",
"o",
".",
"SetSubject",
"(",
"subject",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithSubject adds the subject to the revoke authentication session params | [
"WithSubject",
"adds",
"the",
"subject",
"to",
"the",
"revoke",
"authentication",
"session",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/revoke_authentication_session_parameters.go#L106-L109 |
134,395 | ory/hydra | sdk/go/hydra/client/admin/update_o_auth2_client_parameters.go | WithTimeout | func (o *UpdateOAuth2ClientParams) WithTimeout(timeout time.Duration) *UpdateOAuth2ClientParams {
o.SetTimeout(timeout)
return o
} | go | func (o *UpdateOAuth2ClientParams) WithTimeout(timeout time.Duration) *UpdateOAuth2ClientParams {
o.SetTimeout(timeout)
return o
} | [
"func",
"(",
"o",
"*",
"UpdateOAuth2ClientParams",
")",
"WithTimeout",
"(",
"timeout",
"time",
".",
"Duration",
")",
"*",
"UpdateOAuth2ClientParams",
"{",
"o",
".",
"SetTimeout",
"(",
"timeout",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithTimeout adds the timeout to the update o auth2 client params | [
"WithTimeout",
"adds",
"the",
"timeout",
"to",
"the",
"update",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/update_o_auth2_client_parameters.go#L77-L80 |
134,396 | ory/hydra | sdk/go/hydra/client/admin/update_o_auth2_client_parameters.go | WithContext | func (o *UpdateOAuth2ClientParams) WithContext(ctx context.Context) *UpdateOAuth2ClientParams {
o.SetContext(ctx)
return o
} | go | func (o *UpdateOAuth2ClientParams) WithContext(ctx context.Context) *UpdateOAuth2ClientParams {
o.SetContext(ctx)
return o
} | [
"func",
"(",
"o",
"*",
"UpdateOAuth2ClientParams",
")",
"WithContext",
"(",
"ctx",
"context",
".",
"Context",
")",
"*",
"UpdateOAuth2ClientParams",
"{",
"o",
".",
"SetContext",
"(",
"ctx",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithContext adds the context to the update o auth2 client params | [
"WithContext",
"adds",
"the",
"context",
"to",
"the",
"update",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/update_o_auth2_client_parameters.go#L88-L91 |
134,397 | ory/hydra | sdk/go/hydra/client/admin/update_o_auth2_client_parameters.go | WithHTTPClient | func (o *UpdateOAuth2ClientParams) WithHTTPClient(client *http.Client) *UpdateOAuth2ClientParams {
o.SetHTTPClient(client)
return o
} | go | func (o *UpdateOAuth2ClientParams) WithHTTPClient(client *http.Client) *UpdateOAuth2ClientParams {
o.SetHTTPClient(client)
return o
} | [
"func",
"(",
"o",
"*",
"UpdateOAuth2ClientParams",
")",
"WithHTTPClient",
"(",
"client",
"*",
"http",
".",
"Client",
")",
"*",
"UpdateOAuth2ClientParams",
"{",
"o",
".",
"SetHTTPClient",
"(",
"client",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithHTTPClient adds the HTTPClient to the update o auth2 client params | [
"WithHTTPClient",
"adds",
"the",
"HTTPClient",
"to",
"the",
"update",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/update_o_auth2_client_parameters.go#L99-L102 |
134,398 | ory/hydra | sdk/go/hydra/client/admin/update_o_auth2_client_parameters.go | WithBody | func (o *UpdateOAuth2ClientParams) WithBody(body *models.Client) *UpdateOAuth2ClientParams {
o.SetBody(body)
return o
} | go | func (o *UpdateOAuth2ClientParams) WithBody(body *models.Client) *UpdateOAuth2ClientParams {
o.SetBody(body)
return o
} | [
"func",
"(",
"o",
"*",
"UpdateOAuth2ClientParams",
")",
"WithBody",
"(",
"body",
"*",
"models",
".",
"Client",
")",
"*",
"UpdateOAuth2ClientParams",
"{",
"o",
".",
"SetBody",
"(",
"body",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithBody adds the body to the update o auth2 client params | [
"WithBody",
"adds",
"the",
"body",
"to",
"the",
"update",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/update_o_auth2_client_parameters.go#L110-L113 |
134,399 | ory/hydra | sdk/go/hydra/client/admin/update_o_auth2_client_parameters.go | WithID | func (o *UpdateOAuth2ClientParams) WithID(id string) *UpdateOAuth2ClientParams {
o.SetID(id)
return o
} | go | func (o *UpdateOAuth2ClientParams) WithID(id string) *UpdateOAuth2ClientParams {
o.SetID(id)
return o
} | [
"func",
"(",
"o",
"*",
"UpdateOAuth2ClientParams",
")",
"WithID",
"(",
"id",
"string",
")",
"*",
"UpdateOAuth2ClientParams",
"{",
"o",
".",
"SetID",
"(",
"id",
")",
"\n",
"return",
"o",
"\n",
"}"
] | // WithID adds the id to the update o auth2 client params | [
"WithID",
"adds",
"the",
"id",
"to",
"the",
"update",
"o",
"auth2",
"client",
"params"
] | 67c246c177446daab64be00ba82b3aea1a546570 | https://github.com/ory/hydra/blob/67c246c177446daab64be00ba82b3aea1a546570/sdk/go/hydra/client/admin/update_o_auth2_client_parameters.go#L121-L124 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.