MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / OAuthAuthorizationCode

Struct OAuthAuthorizationCode

pkg/ttnpb/oauth.pb.go:295–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293}
294
295type OAuthAuthorizationCode struct {
296 state protoimpl.MessageState
297 sizeCache protoimpl.SizeCache
298 unknownFields protoimpl.UnknownFields
299
300 UserIds *UserIdentifiers `protobuf:"bytes,1,opt,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
301 UserSessionId string `protobuf:"bytes,9,opt,name=user_session_id,json=userSessionId,proto3" json:"user_session_id,omitempty"`
302 ClientIds *ClientIdentifiers `protobuf:"bytes,2,opt,name=client_ids,json=clientIds,proto3" json:"client_ids,omitempty"`
303 Rights []Right `protobuf:"varint,3,rep,packed,name=rights,proto3,enum=ttn.lorawan.v3.Right" json:"rights,omitempty"`
304 Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
305 RedirectUri string `protobuf:"bytes,5,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
306 State string `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"`
307 CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
308 ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
309}
310
311func (x *OAuthAuthorizationCode) Reset() {
312 *x = OAuthAuthorizationCode{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected