Method: OryClient::OidcUserInfo#locale

Defined in:
lib/ory-client/models/oidc_user_info.rb

#localeObject

End-User’s locale, represented as a BCP47 [RFC5646] language tag. This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA. As a compatibility note, some implementations have used an underscore as the separator rather than a dash, for example, en_US; Relying Parties MAY choose to accept this locale syntax as well.



38
39
40
# File 'lib/ory-client/models/oidc_user_info.rb', line 38

def locale
  @locale
end