github.com/free5gc/openapi@v1.0.8/models/model_access_token_claims.go (about)

     1  /*
     2   * NRF OAuth2
     3   *
     4   * NRF OAuth2 Authorization
     5   *
     6   * API version: 1.0.1
     7   * Generated by: OpenAPI Generator (https://openapi-generator.tech)
     8   */
     9  
    10  package models
    11  
    12  import "github.com/golang-jwt/jwt"
    13  
    14  type AccessTokenClaims struct {
    15  	Iss   string      `json:"iss" yaml:"iss" bson:"iss" mapstructure:"Iss"`
    16  	Sub   string      `json:"sub" yaml:"sub" bson:"sub" mapstructure:"Sub"`
    17  	Aud   interface{} `json:"aud" yaml:"aud" bson:"aud" mapstructure:"Aud"`
    18  	Scope string      `json:"scope" yaml:"scope" bson:"scope" mapstructure:"Scope"`
    19  	Exp   int32       `json:"exp" yaml:"exp" bson:"exp" mapstructure:"Exp"`
    20  	jwt.StandardClaims
    21  }