Exemple #1
0
 /// <summary>
 /// </summary>
 /// <param name="session">The session object</param>
 /// <param name="creds"></param>
 /// <returns></returns>
 public static Task <RsoAuthAuthorization> Post(LeagueClientSession session,
                                                RsoAuthRSOPlayerCredentials creds) =>
 session.SendRequestAsync <RsoAuthAuthorization>("POST", "/rso-auth/v1/authorization/gas",
                                                 body: creds);
Exemple #2
0
 public static Task <RsoAuthAuthorization> PostRsoAuthV1AuthorizationGas([Parameter("creds", "body")] RsoAuthRSOPlayerCredentials creds)
 => Sender.Request <RsoAuthAuthorization>("post", $"/rso-auth/v1/authorization/gas", creds);