Oops I forgot to disable device cert requirment for nex token
All checks were successful
Build and Test / account (push) Successful in 6m42s
All checks were successful
Build and Test / account (push) Successful in 6m42s
This commit is contained in:
parent
5a8e61c255
commit
9456013dc7
1 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ pub struct ServiceToken{
|
||||||
}
|
}
|
||||||
|
|
||||||
#[get("/v1/api/provider/service_token/@me")]
|
#[get("/v1/api/provider/service_token/@me")]
|
||||||
pub async fn get_service_token(pool: &State<Pool>, auth: Auth<true>) -> Result<Xml<ServiceToken>, Option<Errors<'static>>>{
|
pub async fn get_service_token(pool: &State<Pool>, auth: Auth<true, false>) -> Result<Xml<ServiceToken>, Option<Errors<'static>>>{
|
||||||
// just gonna put this here as a side note for the future:
|
// just gonna put this here as a side note for the future:
|
||||||
// we could also be using key derivation to derive the nex token as if it were a key
|
// we could also be using key derivation to derive the nex token as if it were a key
|
||||||
// that way we could reduce the data the database needs to store and also reduce the transfer
|
// that way we could reduce the data the database needs to store and also reduce the transfer
|
||||||
|
|
@ -69,7 +69,7 @@ pub async fn get_service_token(pool: &State<Pool>, auth: Auth<true>) -> Result<X
|
||||||
}
|
}
|
||||||
|
|
||||||
#[get("/v1/api/provider/nex_token/@me?<game_server_id>")]
|
#[get("/v1/api/provider/nex_token/@me?<game_server_id>")]
|
||||||
pub async fn get_nex_token(pool: &State<Pool>, auth: Auth<true>, game_server_id: &str) -> Result<Xml<NexToken>, Option<Errors<'static>>>{
|
pub async fn get_nex_token(pool: &State<Pool>, auth: Auth<true, false>, game_server_id: &str) -> Result<Xml<NexToken>, Option<Errors<'static>>>{
|
||||||
// just gonna put this here as a side note for the future:
|
// just gonna put this here as a side note for the future:
|
||||||
// we could also be using key derivation to derive the nex token as if it were a key
|
// we could also be using key derivation to derive the nex token as if it were a key
|
||||||
// that way we could reduce the data the database needs to store and also reduce the transfer
|
// that way we could reduce the data the database needs to store and also reduce the transfer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue