13 lines
321 B
Go
13 lines
321 B
Go
package basic
|
|
|
|
import (
|
|
"fusenapi/utils/auth"
|
|
"log"
|
|
"testing"
|
|
)
|
|
|
|
func TestRequestParse(t *testing.T) {
|
|
a, us, err := auth.TParseJwtTokenHeader[auth.UserInfo]("saTGjruwq7SG4vnQVEo3vsZvbfhzx8zZ3zWA+8nWVdid5tssnYQNECiP+pYCK6YhZ+LRH8m7f7JXrgyqtpYQMOhVOcNWTYAClk0Jnft6+QIPegzY9+v4k7eVMiWf5c/x")
|
|
log.Println(a, us, err)
|
|
}
|