Get account information for the authenticated user using an OAuth access token. This method retrieves the account associated with the provided authorization token.
# With Bearer prefixauthorization = "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjgNryP4J3jVmNHl0w5N_XgL0n3I9PlFUP0THsR8U"# Or just the tokenauthorization = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjgNryP4J3jVmNHl0w5N_XgL0n3I9PlFUP0THsR8U"
This endpoint is useful for applications that implement Riot Sign-On (RSO) authentication, allowing users to log in with their Riot account and retrieve their own account information.
Never expose access tokens in client-side code or logs. Always handle tokens securely and use HTTPS for transmission.