Documentation
¶
Index ¶
- Variables
- func RegisterJWTISServiceServer(s *grpc.Server, srv JWTISServiceServer)
- type AuthRequest
- func (*AuthRequest) Descriptor() ([]byte, []int)
- func (m *AuthRequest) GetKID() string
- func (m *AuthRequest) Marshal() (dAtA []byte, err error)
- func (m *AuthRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthRequest) ProtoMessage()
- func (m *AuthRequest) Reset()
- func (m *AuthRequest) Size() (n int)
- func (m *AuthRequest) String() string
- func (m *AuthRequest) Unmarshal(dAtA []byte) error
- func (m *AuthRequest) XXX_DiscardUnknown()
- func (m *AuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthRequest) XXX_Merge(src proto.Message)
- func (m *AuthRequest) XXX_Size() int
- func (m *AuthRequest) XXX_Unmarshal(b []byte) error
- type AuthResponse
- func (*AuthResponse) Descriptor() ([]byte, []int)
- func (m *AuthResponse) GetAuthJWT() string
- func (m *AuthResponse) Marshal() (dAtA []byte, err error)
- func (m *AuthResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthResponse) ProtoMessage()
- func (m *AuthResponse) Reset()
- func (m *AuthResponse) Size() (n int)
- func (m *AuthResponse) String() string
- func (m *AuthResponse) Unmarshal(dAtA []byte) error
- func (m *AuthResponse) XXX_DiscardUnknown()
- func (m *AuthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthResponse) XXX_Merge(src proto.Message)
- func (m *AuthResponse) XXX_Size() int
- func (m *AuthResponse) XXX_Unmarshal(b []byte) error
- type DelKeysRequest
- func (*DelKeysRequest) Descriptor() ([]byte, []int)
- func (m *DelKeysRequest) GetKID() string
- func (m *DelKeysRequest) Marshal() (dAtA []byte, err error)
- func (m *DelKeysRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DelKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelKeysRequest) ProtoMessage()
- func (m *DelKeysRequest) Reset()
- func (m *DelKeysRequest) Size() (n int)
- func (m *DelKeysRequest) String() string
- func (m *DelKeysRequest) Unmarshal(dAtA []byte) error
- func (m *DelKeysRequest) XXX_DiscardUnknown()
- func (m *DelKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelKeysRequest) XXX_Merge(src proto.Message)
- func (m *DelKeysRequest) XXX_Size() int
- func (m *DelKeysRequest) XXX_Unmarshal(b []byte) error
- type DelKeysResponse
- func (*DelKeysResponse) Descriptor() ([]byte, []int)
- func (m *DelKeysResponse) Marshal() (dAtA []byte, err error)
- func (m *DelKeysResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DelKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelKeysResponse) ProtoMessage()
- func (m *DelKeysResponse) Reset()
- func (m *DelKeysResponse) Size() (n int)
- func (m *DelKeysResponse) String() string
- func (m *DelKeysResponse) Unmarshal(dAtA []byte) error
- func (m *DelKeysResponse) XXX_DiscardUnknown()
- func (m *DelKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelKeysResponse) XXX_Merge(src proto.Message)
- func (m *DelKeysResponse) XXX_Size() int
- func (m *DelKeysResponse) XXX_Unmarshal(b []byte) error
- type JWTISServiceClient
- type JWTISServiceServer
- type JWTISService_ListKeysClient
- type JWTISService_ListKeysServer
- type ListKeysRequest
- func (*ListKeysRequest) Descriptor() ([]byte, []int)
- func (m *ListKeysRequest) GetQuery() string
- func (m *ListKeysRequest) Marshal() (dAtA []byte, err error)
- func (m *ListKeysRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListKeysRequest) ProtoMessage()
- func (m *ListKeysRequest) Reset()
- func (m *ListKeysRequest) Size() (n int)
- func (m *ListKeysRequest) String() string
- func (m *ListKeysRequest) Unmarshal(dAtA []byte) error
- func (m *ListKeysRequest) XXX_DiscardUnknown()
- func (m *ListKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListKeysRequest) XXX_Merge(src proto.Message)
- func (m *ListKeysRequest) XXX_Size() int
- func (m *ListKeysRequest) XXX_Unmarshal(b []byte) error
- type ListKeysResponse
- func (*ListKeysResponse) Descriptor() ([]byte, []int)
- func (m *ListKeysResponse) GetAuthTTL() int64
- func (m *ListKeysResponse) GetExpired() bool
- func (m *ListKeysResponse) GetExpiry() int64
- func (m *ListKeysResponse) GetKID() string
- func (m *ListKeysResponse) GetLocked() bool
- func (m *ListKeysResponse) GetPubEncKey() []byte
- func (m *ListKeysResponse) GetPubSigKey() []byte
- func (m *ListKeysResponse) GetRefreshStrategy() string
- func (m *ListKeysResponse) GetRefreshTTL() int64
- func (m *ListKeysResponse) GetValid() bool
- func (m *ListKeysResponse) Marshal() (dAtA []byte, err error)
- func (m *ListKeysResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListKeysResponse) ProtoMessage()
- func (m *ListKeysResponse) Reset()
- func (m *ListKeysResponse) Size() (n int)
- func (m *ListKeysResponse) String() string
- func (m *ListKeysResponse) Unmarshal(dAtA []byte) error
- func (m *ListKeysResponse) XXX_DiscardUnknown()
- func (m *ListKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListKeysResponse) XXX_Merge(src proto.Message)
- func (m *ListKeysResponse) XXX_Size() int
- func (m *ListKeysResponse) XXX_Unmarshal(b []byte) error
- type NewJWTRequest
- func (*NewJWTRequest) Descriptor() ([]byte, []int)
- func (m *NewJWTRequest) GetClaims() []byte
- func (m *NewJWTRequest) GetKID() string
- func (m *NewJWTRequest) Marshal() (dAtA []byte, err error)
- func (m *NewJWTRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *NewJWTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NewJWTRequest) ProtoMessage()
- func (m *NewJWTRequest) Reset()
- func (m *NewJWTRequest) Size() (n int)
- func (m *NewJWTRequest) String() string
- func (m *NewJWTRequest) Unmarshal(dAtA []byte) error
- func (m *NewJWTRequest) XXX_DiscardUnknown()
- func (m *NewJWTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewJWTRequest) XXX_Merge(src proto.Message)
- func (m *NewJWTRequest) XXX_Size() int
- func (m *NewJWTRequest) XXX_Unmarshal(b []byte) error
- type NewJWTResponse
- func (*NewJWTResponse) Descriptor() ([]byte, []int)
- func (m *NewJWTResponse) GetAccessToken() string
- func (m *NewJWTResponse) GetExpiry() int64
- func (m *NewJWTResponse) GetID() string
- func (m *NewJWTResponse) GetRefreshToken() string
- func (m *NewJWTResponse) Marshal() (dAtA []byte, err error)
- func (m *NewJWTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *NewJWTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NewJWTResponse) ProtoMessage()
- func (m *NewJWTResponse) Reset()
- func (m *NewJWTResponse) Size() (n int)
- func (m *NewJWTResponse) String() string
- func (m *NewJWTResponse) Unmarshal(dAtA []byte) error
- func (m *NewJWTResponse) XXX_DiscardUnknown()
- func (m *NewJWTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewJWTResponse) XXX_Merge(src proto.Message)
- func (m *NewJWTResponse) XXX_Size() int
- func (m *NewJWTResponse) XXX_Unmarshal(b []byte) error
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)
- func (m *PingRequest) Marshal() (dAtA []byte, err error)
- func (m *PingRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PingRequest) ProtoMessage()
- func (m *PingRequest) Reset()
- func (m *PingRequest) Size() (n int)
- func (m *PingRequest) String() string
- func (m *PingRequest) Unmarshal(dAtA []byte) error
- func (m *PingRequest) XXX_DiscardUnknown()
- func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PingRequest) XXX_Merge(src proto.Message)
- func (m *PingRequest) XXX_Size() int
- func (m *PingRequest) XXX_Unmarshal(b []byte) error
- type PingResponse
- func (*PingResponse) Descriptor() ([]byte, []int)
- func (m *PingResponse) GetStatus() string
- func (m *PingResponse) Marshal() (dAtA []byte, err error)
- func (m *PingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PingResponse) ProtoMessage()
- func (m *PingResponse) Reset()
- func (m *PingResponse) Size() (n int)
- func (m *PingResponse) String() string
- func (m *PingResponse) Unmarshal(dAtA []byte) error
- func (m *PingResponse) XXX_DiscardUnknown()
- func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PingResponse) XXX_Merge(src proto.Message)
- func (m *PingResponse) XXX_Size() int
- func (m *PingResponse) XXX_Unmarshal(b []byte) error
- type PublicKeysRequest
- func (*PublicKeysRequest) Descriptor() ([]byte, []int)
- func (m *PublicKeysRequest) GetKID() string
- func (m *PublicKeysRequest) Marshal() (dAtA []byte, err error)
- func (m *PublicKeysRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PublicKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PublicKeysRequest) ProtoMessage()
- func (m *PublicKeysRequest) Reset()
- func (m *PublicKeysRequest) Size() (n int)
- func (m *PublicKeysRequest) String() string
- func (m *PublicKeysRequest) Unmarshal(dAtA []byte) error
- func (m *PublicKeysRequest) XXX_DiscardUnknown()
- func (m *PublicKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublicKeysRequest) XXX_Merge(src proto.Message)
- func (m *PublicKeysRequest) XXX_Size() int
- func (m *PublicKeysRequest) XXX_Unmarshal(b []byte) error
- type PublicKeysResponse
- func (*PublicKeysResponse) Descriptor() ([]byte, []int)
- func (m *PublicKeysResponse) GetExpiry() int64
- func (m *PublicKeysResponse) GetKID() string
- func (m *PublicKeysResponse) GetPubEncKey() []byte
- func (m *PublicKeysResponse) GetPubSigKey() []byte
- func (m *PublicKeysResponse) GetValid() bool
- func (m *PublicKeysResponse) Marshal() (dAtA []byte, err error)
- func (m *PublicKeysResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PublicKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PublicKeysResponse) ProtoMessage()
- func (m *PublicKeysResponse) Reset()
- func (m *PublicKeysResponse) Size() (n int)
- func (m *PublicKeysResponse) String() string
- func (m *PublicKeysResponse) Unmarshal(dAtA []byte) error
- func (m *PublicKeysResponse) XXX_DiscardUnknown()
- func (m *PublicKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublicKeysResponse) XXX_Merge(src proto.Message)
- func (m *PublicKeysResponse) XXX_Size() int
- func (m *PublicKeysResponse) XXX_Unmarshal(b []byte) error
- type ReadyRequest
- func (*ReadyRequest) Descriptor() ([]byte, []int)
- func (m *ReadyRequest) Marshal() (dAtA []byte, err error)
- func (m *ReadyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ReadyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReadyRequest) ProtoMessage()
- func (m *ReadyRequest) Reset()
- func (m *ReadyRequest) Size() (n int)
- func (m *ReadyRequest) String() string
- func (m *ReadyRequest) Unmarshal(dAtA []byte) error
- func (m *ReadyRequest) XXX_DiscardUnknown()
- func (m *ReadyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadyRequest) XXX_Merge(src proto.Message)
- func (m *ReadyRequest) XXX_Size() int
- func (m *ReadyRequest) XXX_Unmarshal(b []byte) error
- type ReadyResponse
- func (*ReadyResponse) Descriptor() ([]byte, []int)
- func (m *ReadyResponse) GetStart() int64
- func (m *ReadyResponse) GetStatus() string
- func (m *ReadyResponse) GetUp() int64
- func (m *ReadyResponse) Marshal() (dAtA []byte, err error)
- func (m *ReadyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ReadyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReadyResponse) ProtoMessage()
- func (m *ReadyResponse) Reset()
- func (m *ReadyResponse) Size() (n int)
- func (m *ReadyResponse) String() string
- func (m *ReadyResponse) Unmarshal(dAtA []byte) error
- func (m *ReadyResponse) XXX_DiscardUnknown()
- func (m *ReadyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadyResponse) XXX_Merge(src proto.Message)
- func (m *ReadyResponse) XXX_Size() int
- func (m *ReadyResponse) XXX_Unmarshal(b []byte) error
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)
- func (m *RegisterRequest) GetAuthTTL() int64
- func (m *RegisterRequest) GetEncAlg() string
- func (m *RegisterRequest) GetEncBits() int32
- func (m *RegisterRequest) GetExpiry() int64
- func (m *RegisterRequest) GetKID() string
- func (m *RegisterRequest) GetRefreshStrategy() string
- func (m *RegisterRequest) GetRefreshTTL() int64
- func (m *RegisterRequest) GetSigAlg() string
- func (m *RegisterRequest) GetSigBits() int32
- func (m *RegisterRequest) Marshal() (dAtA []byte, err error)
- func (m *RegisterRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegisterRequest) ProtoMessage()
- func (m *RegisterRequest) Reset()
- func (m *RegisterRequest) Size() (n int)
- func (m *RegisterRequest) String() string
- func (m *RegisterRequest) Unmarshal(dAtA []byte) error
- func (m *RegisterRequest) XXX_DiscardUnknown()
- func (m *RegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterRequest) XXX_Merge(src proto.Message)
- func (m *RegisterRequest) XXX_Size() int
- func (m *RegisterRequest) XXX_Unmarshal(b []byte) error
- type RegisterResponse
- func (*RegisterResponse) Descriptor() ([]byte, []int)
- func (m *RegisterResponse) GetAuthJWT() string
- func (m *RegisterResponse) GetExpiry() int64
- func (m *RegisterResponse) GetKID() string
- func (m *RegisterResponse) GetPubEncKey() []byte
- func (m *RegisterResponse) GetPubSigKey() []byte
- func (m *RegisterResponse) GetRefreshStrategy() string
- func (m *RegisterResponse) GetValid() bool
- func (m *RegisterResponse) Marshal() (dAtA []byte, err error)
- func (m *RegisterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegisterResponse) ProtoMessage()
- func (m *RegisterResponse) Reset()
- func (m *RegisterResponse) Size() (n int)
- func (m *RegisterResponse) String() string
- func (m *RegisterResponse) Unmarshal(dAtA []byte) error
- func (m *RegisterResponse) XXX_DiscardUnknown()
- func (m *RegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterResponse) XXX_Merge(src proto.Message)
- func (m *RegisterResponse) XXX_Size() int
- func (m *RegisterResponse) XXX_Unmarshal(b []byte) error
- type RenewJWTRequest
- func (*RenewJWTRequest) Descriptor() ([]byte, []int)
- func (m *RenewJWTRequest) GetKID() string
- func (m *RenewJWTRequest) GetRefreshStrategy() string
- func (m *RenewJWTRequest) GetRefreshToken() string
- func (m *RenewJWTRequest) Marshal() (dAtA []byte, err error)
- func (m *RenewJWTRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RenewJWTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RenewJWTRequest) ProtoMessage()
- func (m *RenewJWTRequest) Reset()
- func (m *RenewJWTRequest) Size() (n int)
- func (m *RenewJWTRequest) String() string
- func (m *RenewJWTRequest) Unmarshal(dAtA []byte) error
- func (m *RenewJWTRequest) XXX_DiscardUnknown()
- func (m *RenewJWTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RenewJWTRequest) XXX_Merge(src proto.Message)
- func (m *RenewJWTRequest) XXX_Size() int
- func (m *RenewJWTRequest) XXX_Unmarshal(b []byte) error
- type RenewJWTResponse
- func (*RenewJWTResponse) Descriptor() ([]byte, []int)
- func (m *RenewJWTResponse) GetAccessToken() string
- func (m *RenewJWTResponse) GetExpiry() int64
- func (m *RenewJWTResponse) GetID() string
- func (m *RenewJWTResponse) GetRefreshToken() string
- func (m *RenewJWTResponse) Marshal() (dAtA []byte, err error)
- func (m *RenewJWTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RenewJWTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RenewJWTResponse) ProtoMessage()
- func (m *RenewJWTResponse) Reset()
- func (m *RenewJWTResponse) Size() (n int)
- func (m *RenewJWTResponse) String() string
- func (m *RenewJWTResponse) Unmarshal(dAtA []byte) error
- func (m *RenewJWTResponse) XXX_DiscardUnknown()
- func (m *RenewJWTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RenewJWTResponse) XXX_Merge(src proto.Message)
- func (m *RenewJWTResponse) XXX_Size() int
- func (m *RenewJWTResponse) XXX_Unmarshal(b []byte) error
- type RevokeJWTRequest
- func (*RevokeJWTRequest) Descriptor() ([]byte, []int)
- func (m *RevokeJWTRequest) GetID() string
- func (m *RevokeJWTRequest) GetKID() string
- func (m *RevokeJWTRequest) GetRefreshToken() string
- func (m *RevokeJWTRequest) Marshal() (dAtA []byte, err error)
- func (m *RevokeJWTRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RevokeJWTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RevokeJWTRequest) ProtoMessage()
- func (m *RevokeJWTRequest) Reset()
- func (m *RevokeJWTRequest) Size() (n int)
- func (m *RevokeJWTRequest) String() string
- func (m *RevokeJWTRequest) Unmarshal(dAtA []byte) error
- func (m *RevokeJWTRequest) XXX_DiscardUnknown()
- func (m *RevokeJWTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RevokeJWTRequest) XXX_Merge(src proto.Message)
- func (m *RevokeJWTRequest) XXX_Size() int
- func (m *RevokeJWTRequest) XXX_Unmarshal(b []byte) error
- type RevokeJWTResponse
- func (*RevokeJWTResponse) Descriptor() ([]byte, []int)
- func (m *RevokeJWTResponse) Marshal() (dAtA []byte, err error)
- func (m *RevokeJWTResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RevokeJWTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RevokeJWTResponse) ProtoMessage()
- func (m *RevokeJWTResponse) Reset()
- func (m *RevokeJWTResponse) Size() (n int)
- func (m *RevokeJWTResponse) String() string
- func (m *RevokeJWTResponse) Unmarshal(dAtA []byte) error
- func (m *RevokeJWTResponse) XXX_DiscardUnknown()
- func (m *RevokeJWTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RevokeJWTResponse) XXX_Merge(src proto.Message)
- func (m *RevokeJWTResponse) XXX_Size() int
- func (m *RevokeJWTResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedJWTISServiceServer
- func (*UnimplementedJWTISServiceServer) Auth(ctx context.Context, req *AuthRequest) (*AuthResponse, error)
- func (*UnimplementedJWTISServiceServer) DelKeys(ctx context.Context, req *DelKeysRequest) (*DelKeysResponse, error)
- func (*UnimplementedJWTISServiceServer) ListKeys(req *ListKeysRequest, srv JWTISService_ListKeysServer) error
- func (*UnimplementedJWTISServiceServer) NewJWT(ctx context.Context, req *NewJWTRequest) (*NewJWTResponse, error)
- func (*UnimplementedJWTISServiceServer) Ping(ctx context.Context, req *PingRequest) (*PingResponse, error)
- func (*UnimplementedJWTISServiceServer) PublicKeys(ctx context.Context, req *PublicKeysRequest) (*PublicKeysResponse, error)
- func (*UnimplementedJWTISServiceServer) Ready(ctx context.Context, req *ReadyRequest) (*ReadyResponse, error)
- func (*UnimplementedJWTISServiceServer) Register(ctx context.Context, req *RegisterRequest) (*RegisterResponse, error)
- func (*UnimplementedJWTISServiceServer) RenewJWT(ctx context.Context, req *RenewJWTRequest) (*RenewJWTResponse, error)
- func (*UnimplementedJWTISServiceServer) RevokeJWT(ctx context.Context, req *RevokeJWTRequest) (*RevokeJWTResponse, error)
- func (*UnimplementedJWTISServiceServer) UpdateKeys(ctx context.Context, req *UpdateKeysRequest) (*UpdateKeysResponse, error)
- type UpdateKeysRequest
- func (*UpdateKeysRequest) Descriptor() ([]byte, []int)
- func (m *UpdateKeysRequest) GetAuthTTL() int64
- func (m *UpdateKeysRequest) GetEncAlg() string
- func (m *UpdateKeysRequest) GetEncBits() int32
- func (m *UpdateKeysRequest) GetExpiry() int64
- func (m *UpdateKeysRequest) GetKID() string
- func (m *UpdateKeysRequest) GetRefreshStrategy() string
- func (m *UpdateKeysRequest) GetRefreshTTL() int64
- func (m *UpdateKeysRequest) GetSigAlg() string
- func (m *UpdateKeysRequest) GetSigBits() int32
- func (m *UpdateKeysRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateKeysRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateKeysRequest) ProtoMessage()
- func (m *UpdateKeysRequest) Reset()
- func (m *UpdateKeysRequest) Size() (n int)
- func (m *UpdateKeysRequest) String() string
- func (m *UpdateKeysRequest) Unmarshal(dAtA []byte) error
- func (m *UpdateKeysRequest) XXX_DiscardUnknown()
- func (m *UpdateKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateKeysRequest) XXX_Merge(src proto.Message)
- func (m *UpdateKeysRequest) XXX_Size() int
- func (m *UpdateKeysRequest) XXX_Unmarshal(b []byte) error
- type UpdateKeysResponse
- func (*UpdateKeysResponse) Descriptor() ([]byte, []int)
- func (m *UpdateKeysResponse) GetAuthJWT() string
- func (m *UpdateKeysResponse) GetExpiry() int64
- func (m *UpdateKeysResponse) GetKID() string
- func (m *UpdateKeysResponse) GetPubEncKey() []byte
- func (m *UpdateKeysResponse) GetPubSigKey() []byte
- func (m *UpdateKeysResponse) GetRefreshStrategy() string
- func (m *UpdateKeysResponse) GetValid() bool
- func (m *UpdateKeysResponse) Marshal() (dAtA []byte, err error)
- func (m *UpdateKeysResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UpdateKeysResponse) ProtoMessage()
- func (m *UpdateKeysResponse) Reset()
- func (m *UpdateKeysResponse) Size() (n int)
- func (m *UpdateKeysResponse) String() string
- func (m *UpdateKeysResponse) Unmarshal(dAtA []byte) error
- func (m *UpdateKeysResponse) XXX_DiscardUnknown()
- func (m *UpdateKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateKeysResponse) XXX_Merge(src proto.Message)
- func (m *UpdateKeysResponse) XXX_Size() int
- func (m *UpdateKeysResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterJWTISServiceServer ¶
func RegisterJWTISServiceServer(s *grpc.Server, srv JWTISServiceServer)
Types ¶
type AuthRequest ¶
type AuthRequest struct {
KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid"`
}
func (*AuthRequest) Descriptor ¶
func (*AuthRequest) Descriptor() ([]byte, []int)
func (*AuthRequest) GetKID ¶
func (m *AuthRequest) GetKID() string
func (*AuthRequest) Marshal ¶
func (m *AuthRequest) Marshal() (dAtA []byte, err error)
func (*AuthRequest) MarshalToSizedBuffer ¶
func (m *AuthRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuthRequest) ProtoMessage ¶
func (*AuthRequest) ProtoMessage()
func (*AuthRequest) Reset ¶
func (m *AuthRequest) Reset()
func (*AuthRequest) Size ¶
func (m *AuthRequest) Size() (n int)
func (*AuthRequest) String ¶
func (m *AuthRequest) String() string
func (*AuthRequest) Unmarshal ¶
func (m *AuthRequest) Unmarshal(dAtA []byte) error
func (*AuthRequest) XXX_DiscardUnknown ¶
func (m *AuthRequest) XXX_DiscardUnknown()
func (*AuthRequest) XXX_Marshal ¶
func (m *AuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthRequest) XXX_Merge ¶
func (m *AuthRequest) XXX_Merge(src proto.Message)
func (*AuthRequest) XXX_Size ¶
func (m *AuthRequest) XXX_Size() int
func (*AuthRequest) XXX_Unmarshal ¶
func (m *AuthRequest) XXX_Unmarshal(b []byte) error
type AuthResponse ¶
type AuthResponse struct { // JWT that can be used for authz AuthJWT string `protobuf:"bytes,1,opt,name=authJWT,proto3" json:"auth_jwt"` }
func (*AuthResponse) Descriptor ¶
func (*AuthResponse) Descriptor() ([]byte, []int)
func (*AuthResponse) GetAuthJWT ¶
func (m *AuthResponse) GetAuthJWT() string
func (*AuthResponse) Marshal ¶
func (m *AuthResponse) Marshal() (dAtA []byte, err error)
func (*AuthResponse) MarshalToSizedBuffer ¶
func (m *AuthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuthResponse) ProtoMessage ¶
func (*AuthResponse) ProtoMessage()
func (*AuthResponse) Reset ¶
func (m *AuthResponse) Reset()
func (*AuthResponse) Size ¶
func (m *AuthResponse) Size() (n int)
func (*AuthResponse) String ¶
func (m *AuthResponse) String() string
func (*AuthResponse) Unmarshal ¶
func (m *AuthResponse) Unmarshal(dAtA []byte) error
func (*AuthResponse) XXX_DiscardUnknown ¶
func (m *AuthResponse) XXX_DiscardUnknown()
func (*AuthResponse) XXX_Marshal ¶
func (m *AuthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthResponse) XXX_Merge ¶
func (m *AuthResponse) XXX_Merge(src proto.Message)
func (*AuthResponse) XXX_Size ¶
func (m *AuthResponse) XXX_Size() int
func (*AuthResponse) XXX_Unmarshal ¶
func (m *AuthResponse) XXX_Unmarshal(b []byte) error
type DelKeysRequest ¶
type DelKeysRequest struct {
KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid"`
}
func (*DelKeysRequest) Descriptor ¶
func (*DelKeysRequest) Descriptor() ([]byte, []int)
func (*DelKeysRequest) GetKID ¶
func (m *DelKeysRequest) GetKID() string
func (*DelKeysRequest) Marshal ¶
func (m *DelKeysRequest) Marshal() (dAtA []byte, err error)
func (*DelKeysRequest) MarshalToSizedBuffer ¶
func (m *DelKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelKeysRequest) ProtoMessage ¶
func (*DelKeysRequest) ProtoMessage()
func (*DelKeysRequest) Reset ¶
func (m *DelKeysRequest) Reset()
func (*DelKeysRequest) Size ¶
func (m *DelKeysRequest) Size() (n int)
func (*DelKeysRequest) String ¶
func (m *DelKeysRequest) String() string
func (*DelKeysRequest) Unmarshal ¶
func (m *DelKeysRequest) Unmarshal(dAtA []byte) error
func (*DelKeysRequest) XXX_DiscardUnknown ¶
func (m *DelKeysRequest) XXX_DiscardUnknown()
func (*DelKeysRequest) XXX_Marshal ¶
func (m *DelKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelKeysRequest) XXX_Merge ¶
func (m *DelKeysRequest) XXX_Merge(src proto.Message)
func (*DelKeysRequest) XXX_Size ¶
func (m *DelKeysRequest) XXX_Size() int
func (*DelKeysRequest) XXX_Unmarshal ¶
func (m *DelKeysRequest) XXX_Unmarshal(b []byte) error
type DelKeysResponse ¶
type DelKeysResponse struct { }
func (*DelKeysResponse) Descriptor ¶
func (*DelKeysResponse) Descriptor() ([]byte, []int)
func (*DelKeysResponse) Marshal ¶
func (m *DelKeysResponse) Marshal() (dAtA []byte, err error)
func (*DelKeysResponse) MarshalToSizedBuffer ¶
func (m *DelKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelKeysResponse) ProtoMessage ¶
func (*DelKeysResponse) ProtoMessage()
func (*DelKeysResponse) Reset ¶
func (m *DelKeysResponse) Reset()
func (*DelKeysResponse) Size ¶
func (m *DelKeysResponse) Size() (n int)
func (*DelKeysResponse) String ¶
func (m *DelKeysResponse) String() string
func (*DelKeysResponse) Unmarshal ¶
func (m *DelKeysResponse) Unmarshal(dAtA []byte) error
func (*DelKeysResponse) XXX_DiscardUnknown ¶
func (m *DelKeysResponse) XXX_DiscardUnknown()
func (*DelKeysResponse) XXX_Marshal ¶
func (m *DelKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelKeysResponse) XXX_Merge ¶
func (m *DelKeysResponse) XXX_Merge(src proto.Message)
func (*DelKeysResponse) XXX_Size ¶
func (m *DelKeysResponse) XXX_Size() int
func (*DelKeysResponse) XXX_Unmarshal ¶
func (m *DelKeysResponse) XXX_Unmarshal(b []byte) error
type JWTISServiceClient ¶
type JWTISServiceClient interface { NewJWT(ctx context.Context, in *NewJWTRequest, opts ...grpc.CallOption) (*NewJWTResponse, error) RenewJWT(ctx context.Context, in *RenewJWTRequest, opts ...grpc.CallOption) (*RenewJWTResponse, error) RevokeJWT(ctx context.Context, in *RevokeJWTRequest, opts ...grpc.CallOption) (*RevokeJWTResponse, error) Auth(ctx context.Context, in *AuthRequest, opts ...grpc.CallOption) (*AuthResponse, error) Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) UpdateKeys(ctx context.Context, in *UpdateKeysRequest, opts ...grpc.CallOption) (*UpdateKeysResponse, error) ListKeys(ctx context.Context, in *ListKeysRequest, opts ...grpc.CallOption) (JWTISService_ListKeysClient, error) DelKeys(ctx context.Context, in *DelKeysRequest, opts ...grpc.CallOption) (*DelKeysResponse, error) PublicKeys(ctx context.Context, in *PublicKeysRequest, opts ...grpc.CallOption) (*PublicKeysResponse, error) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) Ready(ctx context.Context, in *ReadyRequest, opts ...grpc.CallOption) (*ReadyResponse, error) }
JWTISServiceClient is the client API for JWTISService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewJWTISServiceClient ¶
func NewJWTISServiceClient(cc *grpc.ClientConn) JWTISServiceClient
type JWTISServiceServer ¶
type JWTISServiceServer interface { NewJWT(context.Context, *NewJWTRequest) (*NewJWTResponse, error) RenewJWT(context.Context, *RenewJWTRequest) (*RenewJWTResponse, error) RevokeJWT(context.Context, *RevokeJWTRequest) (*RevokeJWTResponse, error) Auth(context.Context, *AuthRequest) (*AuthResponse, error) Register(context.Context, *RegisterRequest) (*RegisterResponse, error) UpdateKeys(context.Context, *UpdateKeysRequest) (*UpdateKeysResponse, error) ListKeys(*ListKeysRequest, JWTISService_ListKeysServer) error DelKeys(context.Context, *DelKeysRequest) (*DelKeysResponse, error) PublicKeys(context.Context, *PublicKeysRequest) (*PublicKeysResponse, error) Ping(context.Context, *PingRequest) (*PingResponse, error) Ready(context.Context, *ReadyRequest) (*ReadyResponse, error) }
JWTISServiceServer is the server API for JWTISService service.
type JWTISService_ListKeysClient ¶
type JWTISService_ListKeysClient interface { Recv() (*ListKeysResponse, error) grpc.ClientStream }
type JWTISService_ListKeysServer ¶
type JWTISService_ListKeysServer interface { Send(*ListKeysResponse) error grpc.ServerStream }
type ListKeysRequest ¶
type ListKeysRequest struct {
Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query"`
}
func (*ListKeysRequest) Descriptor ¶
func (*ListKeysRequest) Descriptor() ([]byte, []int)
func (*ListKeysRequest) GetQuery ¶
func (m *ListKeysRequest) GetQuery() string
func (*ListKeysRequest) Marshal ¶
func (m *ListKeysRequest) Marshal() (dAtA []byte, err error)
func (*ListKeysRequest) MarshalToSizedBuffer ¶
func (m *ListKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListKeysRequest) ProtoMessage ¶
func (*ListKeysRequest) ProtoMessage()
func (*ListKeysRequest) Reset ¶
func (m *ListKeysRequest) Reset()
func (*ListKeysRequest) Size ¶
func (m *ListKeysRequest) Size() (n int)
func (*ListKeysRequest) String ¶
func (m *ListKeysRequest) String() string
func (*ListKeysRequest) Unmarshal ¶
func (m *ListKeysRequest) Unmarshal(dAtA []byte) error
func (*ListKeysRequest) XXX_DiscardUnknown ¶
func (m *ListKeysRequest) XXX_DiscardUnknown()
func (*ListKeysRequest) XXX_Marshal ¶
func (m *ListKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListKeysRequest) XXX_Merge ¶
func (m *ListKeysRequest) XXX_Merge(src proto.Message)
func (*ListKeysRequest) XXX_Size ¶
func (m *ListKeysRequest) XXX_Size() int
func (*ListKeysRequest) XXX_Unmarshal ¶
func (m *ListKeysRequest) XXX_Unmarshal(b []byte) error
type ListKeysResponse ¶
type ListKeysResponse struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid"` Expiry int64 `protobuf:"varint,2,opt,name=expiry,proto3" json:"expiry"` AuthTTL int64 `protobuf:"varint,3,opt,name=authTTL,proto3" json:"auth_ttl"` RefreshTTL int64 `protobuf:"varint,4,opt,name=refreshTTL,proto3" json:"refresh_ttl"` RefreshStrategy string `protobuf:"bytes,5,opt,name=refreshStrategy,proto3" json:"refresh_strategy"` PubSigKey []byte `protobuf:"bytes,6,opt,name=pubSigKey,proto3" json:"pub_sig_key"` PubEncKey []byte `protobuf:"bytes,7,opt,name=pubEncKey,proto3" json:"pub_enc_key"` Locked bool `protobuf:"varint,8,opt,name=locked,proto3" json:"locked"` Valid bool `protobuf:"varint,9,opt,name=valid,proto3" json:"valid"` Expired bool `protobuf:"varint,10,opt,name=expired,proto3" json:"expired"` }
ListKeysResponse holds all keys info
func (*ListKeysResponse) Descriptor ¶
func (*ListKeysResponse) Descriptor() ([]byte, []int)
func (*ListKeysResponse) GetAuthTTL ¶
func (m *ListKeysResponse) GetAuthTTL() int64
func (*ListKeysResponse) GetExpired ¶
func (m *ListKeysResponse) GetExpired() bool
func (*ListKeysResponse) GetExpiry ¶
func (m *ListKeysResponse) GetExpiry() int64
func (*ListKeysResponse) GetKID ¶
func (m *ListKeysResponse) GetKID() string
func (*ListKeysResponse) GetLocked ¶
func (m *ListKeysResponse) GetLocked() bool
func (*ListKeysResponse) GetPubEncKey ¶
func (m *ListKeysResponse) GetPubEncKey() []byte
func (*ListKeysResponse) GetPubSigKey ¶
func (m *ListKeysResponse) GetPubSigKey() []byte
func (*ListKeysResponse) GetRefreshStrategy ¶
func (m *ListKeysResponse) GetRefreshStrategy() string
func (*ListKeysResponse) GetRefreshTTL ¶
func (m *ListKeysResponse) GetRefreshTTL() int64
func (*ListKeysResponse) GetValid ¶
func (m *ListKeysResponse) GetValid() bool
func (*ListKeysResponse) Marshal ¶
func (m *ListKeysResponse) Marshal() (dAtA []byte, err error)
func (*ListKeysResponse) MarshalToSizedBuffer ¶
func (m *ListKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListKeysResponse) ProtoMessage ¶
func (*ListKeysResponse) ProtoMessage()
func (*ListKeysResponse) Reset ¶
func (m *ListKeysResponse) Reset()
func (*ListKeysResponse) Size ¶
func (m *ListKeysResponse) Size() (n int)
func (*ListKeysResponse) String ¶
func (m *ListKeysResponse) String() string
func (*ListKeysResponse) Unmarshal ¶
func (m *ListKeysResponse) Unmarshal(dAtA []byte) error
func (*ListKeysResponse) XXX_DiscardUnknown ¶
func (m *ListKeysResponse) XXX_DiscardUnknown()
func (*ListKeysResponse) XXX_Marshal ¶
func (m *ListKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListKeysResponse) XXX_Merge ¶
func (m *ListKeysResponse) XXX_Merge(src proto.Message)
func (*ListKeysResponse) XXX_Size ¶
func (m *ListKeysResponse) XXX_Size() int
func (*ListKeysResponse) XXX_Unmarshal ¶
func (m *ListKeysResponse) XXX_Unmarshal(b []byte) error
type NewJWTRequest ¶
type NewJWTRequest struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid"` Claims []byte `protobuf:"bytes,2,opt,name=claims,proto3" json:"claims,omitempty"` }
func (*NewJWTRequest) Descriptor ¶
func (*NewJWTRequest) Descriptor() ([]byte, []int)
func (*NewJWTRequest) GetClaims ¶
func (m *NewJWTRequest) GetClaims() []byte
func (*NewJWTRequest) GetKID ¶
func (m *NewJWTRequest) GetKID() string
func (*NewJWTRequest) Marshal ¶
func (m *NewJWTRequest) Marshal() (dAtA []byte, err error)
func (*NewJWTRequest) MarshalToSizedBuffer ¶
func (m *NewJWTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NewJWTRequest) ProtoMessage ¶
func (*NewJWTRequest) ProtoMessage()
func (*NewJWTRequest) Reset ¶
func (m *NewJWTRequest) Reset()
func (*NewJWTRequest) Size ¶
func (m *NewJWTRequest) Size() (n int)
func (*NewJWTRequest) String ¶
func (m *NewJWTRequest) String() string
func (*NewJWTRequest) Unmarshal ¶
func (m *NewJWTRequest) Unmarshal(dAtA []byte) error
func (*NewJWTRequest) XXX_DiscardUnknown ¶
func (m *NewJWTRequest) XXX_DiscardUnknown()
func (*NewJWTRequest) XXX_Marshal ¶
func (m *NewJWTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewJWTRequest) XXX_Merge ¶
func (m *NewJWTRequest) XXX_Merge(src proto.Message)
func (*NewJWTRequest) XXX_Size ¶
func (m *NewJWTRequest) XXX_Size() int
func (*NewJWTRequest) XXX_Unmarshal ¶
func (m *NewJWTRequest) XXX_Unmarshal(b []byte) error
type NewJWTResponse ¶
type NewJWTResponse struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` AccessToken string `protobuf:"bytes,2,opt,name=accessToken,proto3" json:"access_token"` RefreshToken string `protobuf:"bytes,3,opt,name=refreshToken,proto3" json:"refresh_token"` Expiry int64 `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry"` }
func (*NewJWTResponse) Descriptor ¶
func (*NewJWTResponse) Descriptor() ([]byte, []int)
func (*NewJWTResponse) GetAccessToken ¶
func (m *NewJWTResponse) GetAccessToken() string
func (*NewJWTResponse) GetExpiry ¶
func (m *NewJWTResponse) GetExpiry() int64
func (*NewJWTResponse) GetID ¶
func (m *NewJWTResponse) GetID() string
func (*NewJWTResponse) GetRefreshToken ¶
func (m *NewJWTResponse) GetRefreshToken() string
func (*NewJWTResponse) Marshal ¶
func (m *NewJWTResponse) Marshal() (dAtA []byte, err error)
func (*NewJWTResponse) MarshalToSizedBuffer ¶
func (m *NewJWTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NewJWTResponse) ProtoMessage ¶
func (*NewJWTResponse) ProtoMessage()
func (*NewJWTResponse) Reset ¶
func (m *NewJWTResponse) Reset()
func (*NewJWTResponse) Size ¶
func (m *NewJWTResponse) Size() (n int)
func (*NewJWTResponse) String ¶
func (m *NewJWTResponse) String() string
func (*NewJWTResponse) Unmarshal ¶
func (m *NewJWTResponse) Unmarshal(dAtA []byte) error
func (*NewJWTResponse) XXX_DiscardUnknown ¶
func (m *NewJWTResponse) XXX_DiscardUnknown()
func (*NewJWTResponse) XXX_Marshal ¶
func (m *NewJWTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewJWTResponse) XXX_Merge ¶
func (m *NewJWTResponse) XXX_Merge(src proto.Message)
func (*NewJWTResponse) XXX_Size ¶
func (m *NewJWTResponse) XXX_Size() int
func (*NewJWTResponse) XXX_Unmarshal ¶
func (m *NewJWTResponse) XXX_Unmarshal(b []byte) error
type PingRequest ¶
type PingRequest struct { }
func (*PingRequest) Descriptor ¶
func (*PingRequest) Descriptor() ([]byte, []int)
func (*PingRequest) Marshal ¶
func (m *PingRequest) Marshal() (dAtA []byte, err error)
func (*PingRequest) MarshalToSizedBuffer ¶
func (m *PingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) Reset ¶
func (m *PingRequest) Reset()
func (*PingRequest) Size ¶
func (m *PingRequest) Size() (n int)
func (*PingRequest) String ¶
func (m *PingRequest) String() string
func (*PingRequest) Unmarshal ¶
func (m *PingRequest) Unmarshal(dAtA []byte) error
func (*PingRequest) XXX_DiscardUnknown ¶
func (m *PingRequest) XXX_DiscardUnknown()
func (*PingRequest) XXX_Marshal ¶
func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PingRequest) XXX_Merge ¶
func (m *PingRequest) XXX_Merge(src proto.Message)
func (*PingRequest) XXX_Size ¶
func (m *PingRequest) XXX_Size() int
func (*PingRequest) XXX_Unmarshal ¶
func (m *PingRequest) XXX_Unmarshal(b []byte) error
type PingResponse ¶
type PingResponse struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status"`
}
func (*PingResponse) Descriptor ¶
func (*PingResponse) Descriptor() ([]byte, []int)
func (*PingResponse) GetStatus ¶
func (m *PingResponse) GetStatus() string
func (*PingResponse) Marshal ¶
func (m *PingResponse) Marshal() (dAtA []byte, err error)
func (*PingResponse) MarshalToSizedBuffer ¶
func (m *PingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) Reset ¶
func (m *PingResponse) Reset()
func (*PingResponse) Size ¶
func (m *PingResponse) Size() (n int)
func (*PingResponse) String ¶
func (m *PingResponse) String() string
func (*PingResponse) Unmarshal ¶
func (m *PingResponse) Unmarshal(dAtA []byte) error
func (*PingResponse) XXX_DiscardUnknown ¶
func (m *PingResponse) XXX_DiscardUnknown()
func (*PingResponse) XXX_Marshal ¶
func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PingResponse) XXX_Merge ¶
func (m *PingResponse) XXX_Merge(src proto.Message)
func (*PingResponse) XXX_Size ¶
func (m *PingResponse) XXX_Size() int
func (*PingResponse) XXX_Unmarshal ¶
func (m *PingResponse) XXX_Unmarshal(b []byte) error
type PublicKeysRequest ¶
type PublicKeysRequest struct {
KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid"`
}
func (*PublicKeysRequest) Descriptor ¶
func (*PublicKeysRequest) Descriptor() ([]byte, []int)
func (*PublicKeysRequest) GetKID ¶
func (m *PublicKeysRequest) GetKID() string
func (*PublicKeysRequest) Marshal ¶
func (m *PublicKeysRequest) Marshal() (dAtA []byte, err error)
func (*PublicKeysRequest) MarshalTo ¶
func (m *PublicKeysRequest) MarshalTo(dAtA []byte) (int, error)
func (*PublicKeysRequest) MarshalToSizedBuffer ¶
func (m *PublicKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PublicKeysRequest) ProtoMessage ¶
func (*PublicKeysRequest) ProtoMessage()
func (*PublicKeysRequest) Reset ¶
func (m *PublicKeysRequest) Reset()
func (*PublicKeysRequest) Size ¶
func (m *PublicKeysRequest) Size() (n int)
func (*PublicKeysRequest) String ¶
func (m *PublicKeysRequest) String() string
func (*PublicKeysRequest) Unmarshal ¶
func (m *PublicKeysRequest) Unmarshal(dAtA []byte) error
func (*PublicKeysRequest) XXX_DiscardUnknown ¶
func (m *PublicKeysRequest) XXX_DiscardUnknown()
func (*PublicKeysRequest) XXX_Marshal ¶
func (m *PublicKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PublicKeysRequest) XXX_Merge ¶
func (m *PublicKeysRequest) XXX_Merge(src proto.Message)
func (*PublicKeysRequest) XXX_Size ¶
func (m *PublicKeysRequest) XXX_Size() int
func (*PublicKeysRequest) XXX_Unmarshal ¶
func (m *PublicKeysRequest) XXX_Unmarshal(b []byte) error
type PublicKeysResponse ¶
type PublicKeysResponse struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid"` PubSigKey []byte `protobuf:"bytes,2,opt,name=pubSigKey,proto3" json:"pub_sig_key"` PubEncKey []byte `protobuf:"bytes,3,opt,name=pubEncKey,proto3" json:"pub_enc_key"` Expiry int64 `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry"` Valid bool `protobuf:"varint,5,opt,name=valid,proto3" json:"valid"` }
func (*PublicKeysResponse) Descriptor ¶
func (*PublicKeysResponse) Descriptor() ([]byte, []int)
func (*PublicKeysResponse) GetExpiry ¶
func (m *PublicKeysResponse) GetExpiry() int64
func (*PublicKeysResponse) GetKID ¶
func (m *PublicKeysResponse) GetKID() string
func (*PublicKeysResponse) GetPubEncKey ¶
func (m *PublicKeysResponse) GetPubEncKey() []byte
func (*PublicKeysResponse) GetPubSigKey ¶
func (m *PublicKeysResponse) GetPubSigKey() []byte
func (*PublicKeysResponse) GetValid ¶
func (m *PublicKeysResponse) GetValid() bool
func (*PublicKeysResponse) Marshal ¶
func (m *PublicKeysResponse) Marshal() (dAtA []byte, err error)
func (*PublicKeysResponse) MarshalTo ¶
func (m *PublicKeysResponse) MarshalTo(dAtA []byte) (int, error)
func (*PublicKeysResponse) MarshalToSizedBuffer ¶
func (m *PublicKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PublicKeysResponse) ProtoMessage ¶
func (*PublicKeysResponse) ProtoMessage()
func (*PublicKeysResponse) Reset ¶
func (m *PublicKeysResponse) Reset()
func (*PublicKeysResponse) Size ¶
func (m *PublicKeysResponse) Size() (n int)
func (*PublicKeysResponse) String ¶
func (m *PublicKeysResponse) String() string
func (*PublicKeysResponse) Unmarshal ¶
func (m *PublicKeysResponse) Unmarshal(dAtA []byte) error
func (*PublicKeysResponse) XXX_DiscardUnknown ¶
func (m *PublicKeysResponse) XXX_DiscardUnknown()
func (*PublicKeysResponse) XXX_Marshal ¶
func (m *PublicKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PublicKeysResponse) XXX_Merge ¶
func (m *PublicKeysResponse) XXX_Merge(src proto.Message)
func (*PublicKeysResponse) XXX_Size ¶
func (m *PublicKeysResponse) XXX_Size() int
func (*PublicKeysResponse) XXX_Unmarshal ¶
func (m *PublicKeysResponse) XXX_Unmarshal(b []byte) error
type ReadyRequest ¶
type ReadyRequest struct { }
func (*ReadyRequest) Descriptor ¶
func (*ReadyRequest) Descriptor() ([]byte, []int)
func (*ReadyRequest) Marshal ¶
func (m *ReadyRequest) Marshal() (dAtA []byte, err error)
func (*ReadyRequest) MarshalToSizedBuffer ¶
func (m *ReadyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReadyRequest) ProtoMessage ¶
func (*ReadyRequest) ProtoMessage()
func (*ReadyRequest) Reset ¶
func (m *ReadyRequest) Reset()
func (*ReadyRequest) Size ¶
func (m *ReadyRequest) Size() (n int)
func (*ReadyRequest) String ¶
func (m *ReadyRequest) String() string
func (*ReadyRequest) Unmarshal ¶
func (m *ReadyRequest) Unmarshal(dAtA []byte) error
func (*ReadyRequest) XXX_DiscardUnknown ¶
func (m *ReadyRequest) XXX_DiscardUnknown()
func (*ReadyRequest) XXX_Marshal ¶
func (m *ReadyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadyRequest) XXX_Merge ¶
func (m *ReadyRequest) XXX_Merge(src proto.Message)
func (*ReadyRequest) XXX_Size ¶
func (m *ReadyRequest) XXX_Size() int
func (*ReadyRequest) XXX_Unmarshal ¶
func (m *ReadyRequest) XXX_Unmarshal(b []byte) error
type ReadyResponse ¶
type ReadyResponse struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status"` Start int64 `protobuf:"varint,2,opt,name=start,proto3" json:"start"` Up int64 `protobuf:"varint,3,opt,name=up,proto3" json:"up"` }
func (*ReadyResponse) Descriptor ¶
func (*ReadyResponse) Descriptor() ([]byte, []int)
func (*ReadyResponse) GetStart ¶
func (m *ReadyResponse) GetStart() int64
func (*ReadyResponse) GetStatus ¶
func (m *ReadyResponse) GetStatus() string
func (*ReadyResponse) GetUp ¶
func (m *ReadyResponse) GetUp() int64
func (*ReadyResponse) Marshal ¶
func (m *ReadyResponse) Marshal() (dAtA []byte, err error)
func (*ReadyResponse) MarshalToSizedBuffer ¶
func (m *ReadyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReadyResponse) ProtoMessage ¶
func (*ReadyResponse) ProtoMessage()
func (*ReadyResponse) Reset ¶
func (m *ReadyResponse) Reset()
func (*ReadyResponse) Size ¶
func (m *ReadyResponse) Size() (n int)
func (*ReadyResponse) String ¶
func (m *ReadyResponse) String() string
func (*ReadyResponse) Unmarshal ¶
func (m *ReadyResponse) Unmarshal(dAtA []byte) error
func (*ReadyResponse) XXX_DiscardUnknown ¶
func (m *ReadyResponse) XXX_DiscardUnknown()
func (*ReadyResponse) XXX_Marshal ¶
func (m *ReadyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadyResponse) XXX_Merge ¶
func (m *ReadyResponse) XXX_Merge(src proto.Message)
func (*ReadyResponse) XXX_Size ¶
func (m *ReadyResponse) XXX_Size() int
func (*ReadyResponse) XXX_Unmarshal ¶
func (m *ReadyResponse) XXX_Unmarshal(b []byte) error
type RegisterRequest ¶
type RegisterRequest struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid"` Expiry int64 `protobuf:"varint,2,opt,name=expiry,proto3" json:"expiry,omitempty"` SigAlg string `protobuf:"bytes,3,opt,name=sigAlg,proto3" json:"sig_alg,omitempty"` SigBits int32 `protobuf:"varint,4,opt,name=sigBits,proto3" json:"sig_bits,omitempty"` EncAlg string `protobuf:"bytes,5,opt,name=encAlg,proto3" json:"enc_alg,omitempty"` EncBits int32 `protobuf:"varint,6,opt,name=encBits,proto3" json:"enc_bits,omitempty"` AuthTTL int64 `protobuf:"varint,7,opt,name=authTTL,proto3" json:"auth_ttl,omitempty"` RefreshTTL int64 `protobuf:"varint,8,opt,name=refreshTTL,proto3" json:"refresh_ttl,omitempty"` // RefreshStrategy is used in RenewJWT to decide wheather to issue new refresh // token with access token or not this option applies to all renewJWT requests RefreshStrategy string `protobuf:"bytes,9,opt,name=refreshStrategy,proto3" json:"refresh_strategy,omitempty"` }
func (*RegisterRequest) Descriptor ¶
func (*RegisterRequest) Descriptor() ([]byte, []int)
func (*RegisterRequest) GetAuthTTL ¶
func (m *RegisterRequest) GetAuthTTL() int64
func (*RegisterRequest) GetEncAlg ¶
func (m *RegisterRequest) GetEncAlg() string
func (*RegisterRequest) GetEncBits ¶
func (m *RegisterRequest) GetEncBits() int32
func (*RegisterRequest) GetExpiry ¶
func (m *RegisterRequest) GetExpiry() int64
func (*RegisterRequest) GetKID ¶
func (m *RegisterRequest) GetKID() string
func (*RegisterRequest) GetRefreshStrategy ¶
func (m *RegisterRequest) GetRefreshStrategy() string
func (*RegisterRequest) GetRefreshTTL ¶
func (m *RegisterRequest) GetRefreshTTL() int64
func (*RegisterRequest) GetSigAlg ¶
func (m *RegisterRequest) GetSigAlg() string
func (*RegisterRequest) GetSigBits ¶
func (m *RegisterRequest) GetSigBits() int32
func (*RegisterRequest) Marshal ¶
func (m *RegisterRequest) Marshal() (dAtA []byte, err error)
func (*RegisterRequest) MarshalToSizedBuffer ¶
func (m *RegisterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) Reset ¶
func (m *RegisterRequest) Reset()
func (*RegisterRequest) Size ¶
func (m *RegisterRequest) Size() (n int)
func (*RegisterRequest) String ¶
func (m *RegisterRequest) String() string
func (*RegisterRequest) Unmarshal ¶
func (m *RegisterRequest) Unmarshal(dAtA []byte) error
func (*RegisterRequest) XXX_DiscardUnknown ¶
func (m *RegisterRequest) XXX_DiscardUnknown()
func (*RegisterRequest) XXX_Marshal ¶
func (m *RegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterRequest) XXX_Merge ¶
func (m *RegisterRequest) XXX_Merge(src proto.Message)
func (*RegisterRequest) XXX_Size ¶
func (m *RegisterRequest) XXX_Size() int
func (*RegisterRequest) XXX_Unmarshal ¶
func (m *RegisterRequest) XXX_Unmarshal(b []byte) error
type RegisterResponse ¶
type RegisterResponse struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid"` AuthJWT string `protobuf:"bytes,2,opt,name=authJWT,proto3" json:"auth_jwt"` PubSigKey []byte `protobuf:"bytes,3,opt,name=pubSigKey,proto3" json:"pub_sig_key"` PubEncKey []byte `protobuf:"bytes,4,opt,name=pubEncKey,proto3" json:"pub_enc_key"` Expiry int64 `protobuf:"varint,5,opt,name=expiry,proto3" json:"expiry"` Valid bool `protobuf:"varint,6,opt,name=valid,proto3" json:"valid"` RefreshStrategy string `protobuf:"bytes,7,opt,name=refreshStrategy,proto3" json:"refresh_strategy"` }
func (*RegisterResponse) Descriptor ¶
func (*RegisterResponse) Descriptor() ([]byte, []int)
func (*RegisterResponse) GetAuthJWT ¶
func (m *RegisterResponse) GetAuthJWT() string
func (*RegisterResponse) GetExpiry ¶
func (m *RegisterResponse) GetExpiry() int64
func (*RegisterResponse) GetKID ¶
func (m *RegisterResponse) GetKID() string
func (*RegisterResponse) GetPubEncKey ¶
func (m *RegisterResponse) GetPubEncKey() []byte
func (*RegisterResponse) GetPubSigKey ¶
func (m *RegisterResponse) GetPubSigKey() []byte
func (*RegisterResponse) GetRefreshStrategy ¶
func (m *RegisterResponse) GetRefreshStrategy() string
func (*RegisterResponse) GetValid ¶
func (m *RegisterResponse) GetValid() bool
func (*RegisterResponse) Marshal ¶
func (m *RegisterResponse) Marshal() (dAtA []byte, err error)
func (*RegisterResponse) MarshalToSizedBuffer ¶
func (m *RegisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) Reset ¶
func (m *RegisterResponse) Reset()
func (*RegisterResponse) Size ¶
func (m *RegisterResponse) Size() (n int)
func (*RegisterResponse) String ¶
func (m *RegisterResponse) String() string
func (*RegisterResponse) Unmarshal ¶
func (m *RegisterResponse) Unmarshal(dAtA []byte) error
func (*RegisterResponse) XXX_DiscardUnknown ¶
func (m *RegisterResponse) XXX_DiscardUnknown()
func (*RegisterResponse) XXX_Marshal ¶
func (m *RegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterResponse) XXX_Merge ¶
func (m *RegisterResponse) XXX_Merge(src proto.Message)
func (*RegisterResponse) XXX_Size ¶
func (m *RegisterResponse) XXX_Size() int
func (*RegisterResponse) XXX_Unmarshal ¶
func (m *RegisterResponse) XXX_Unmarshal(b []byte) error
type RenewJWTRequest ¶
type RenewJWTRequest struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid"` RefreshToken string `protobuf:"bytes,2,opt,name=refreshToken,proto3" json:"refresh_token"` RefreshStrategy string `protobuf:"bytes,3,opt,name=refreshStrategy,proto3" json:"refresh_strategy,omitempty"` }
func (*RenewJWTRequest) Descriptor ¶
func (*RenewJWTRequest) Descriptor() ([]byte, []int)
func (*RenewJWTRequest) GetKID ¶
func (m *RenewJWTRequest) GetKID() string
func (*RenewJWTRequest) GetRefreshStrategy ¶
func (m *RenewJWTRequest) GetRefreshStrategy() string
func (*RenewJWTRequest) GetRefreshToken ¶
func (m *RenewJWTRequest) GetRefreshToken() string
func (*RenewJWTRequest) Marshal ¶
func (m *RenewJWTRequest) Marshal() (dAtA []byte, err error)
func (*RenewJWTRequest) MarshalToSizedBuffer ¶
func (m *RenewJWTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RenewJWTRequest) ProtoMessage ¶
func (*RenewJWTRequest) ProtoMessage()
func (*RenewJWTRequest) Reset ¶
func (m *RenewJWTRequest) Reset()
func (*RenewJWTRequest) Size ¶
func (m *RenewJWTRequest) Size() (n int)
func (*RenewJWTRequest) String ¶
func (m *RenewJWTRequest) String() string
func (*RenewJWTRequest) Unmarshal ¶
func (m *RenewJWTRequest) Unmarshal(dAtA []byte) error
func (*RenewJWTRequest) XXX_DiscardUnknown ¶
func (m *RenewJWTRequest) XXX_DiscardUnknown()
func (*RenewJWTRequest) XXX_Marshal ¶
func (m *RenewJWTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RenewJWTRequest) XXX_Merge ¶
func (m *RenewJWTRequest) XXX_Merge(src proto.Message)
func (*RenewJWTRequest) XXX_Size ¶
func (m *RenewJWTRequest) XXX_Size() int
func (*RenewJWTRequest) XXX_Unmarshal ¶
func (m *RenewJWTRequest) XXX_Unmarshal(b []byte) error
type RenewJWTResponse ¶
type RenewJWTResponse struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` AccessToken string `protobuf:"bytes,2,opt,name=accessToken,proto3" json:"access_token"` RefreshToken string `protobuf:"bytes,3,opt,name=refreshToken,proto3" json:"refresh_token"` Expiry int64 `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry"` }
func (*RenewJWTResponse) Descriptor ¶
func (*RenewJWTResponse) Descriptor() ([]byte, []int)
func (*RenewJWTResponse) GetAccessToken ¶
func (m *RenewJWTResponse) GetAccessToken() string
func (*RenewJWTResponse) GetExpiry ¶
func (m *RenewJWTResponse) GetExpiry() int64
func (*RenewJWTResponse) GetID ¶
func (m *RenewJWTResponse) GetID() string
func (*RenewJWTResponse) GetRefreshToken ¶
func (m *RenewJWTResponse) GetRefreshToken() string
func (*RenewJWTResponse) Marshal ¶
func (m *RenewJWTResponse) Marshal() (dAtA []byte, err error)
func (*RenewJWTResponse) MarshalToSizedBuffer ¶
func (m *RenewJWTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RenewJWTResponse) ProtoMessage ¶
func (*RenewJWTResponse) ProtoMessage()
func (*RenewJWTResponse) Reset ¶
func (m *RenewJWTResponse) Reset()
func (*RenewJWTResponse) Size ¶
func (m *RenewJWTResponse) Size() (n int)
func (*RenewJWTResponse) String ¶
func (m *RenewJWTResponse) String() string
func (*RenewJWTResponse) Unmarshal ¶
func (m *RenewJWTResponse) Unmarshal(dAtA []byte) error
func (*RenewJWTResponse) XXX_DiscardUnknown ¶
func (m *RenewJWTResponse) XXX_DiscardUnknown()
func (*RenewJWTResponse) XXX_Marshal ¶
func (m *RenewJWTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RenewJWTResponse) XXX_Merge ¶
func (m *RenewJWTResponse) XXX_Merge(src proto.Message)
func (*RenewJWTResponse) XXX_Size ¶
func (m *RenewJWTResponse) XXX_Size() int
func (*RenewJWTResponse) XXX_Unmarshal ¶
func (m *RenewJWTResponse) XXX_Unmarshal(b []byte) error
type RevokeJWTRequest ¶
type RevokeJWTRequest struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid"` ID string `protobuf:"bytes,2,opt,name=id,proto3" json:"id"` RefreshToken string `protobuf:"bytes,3,opt,name=refreshToken,proto3" json:"refresh_token"` }
func (*RevokeJWTRequest) Descriptor ¶
func (*RevokeJWTRequest) Descriptor() ([]byte, []int)
func (*RevokeJWTRequest) GetID ¶
func (m *RevokeJWTRequest) GetID() string
func (*RevokeJWTRequest) GetKID ¶
func (m *RevokeJWTRequest) GetKID() string
func (*RevokeJWTRequest) GetRefreshToken ¶
func (m *RevokeJWTRequest) GetRefreshToken() string
func (*RevokeJWTRequest) Marshal ¶
func (m *RevokeJWTRequest) Marshal() (dAtA []byte, err error)
func (*RevokeJWTRequest) MarshalToSizedBuffer ¶
func (m *RevokeJWTRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RevokeJWTRequest) ProtoMessage ¶
func (*RevokeJWTRequest) ProtoMessage()
func (*RevokeJWTRequest) Reset ¶
func (m *RevokeJWTRequest) Reset()
func (*RevokeJWTRequest) Size ¶
func (m *RevokeJWTRequest) Size() (n int)
func (*RevokeJWTRequest) String ¶
func (m *RevokeJWTRequest) String() string
func (*RevokeJWTRequest) Unmarshal ¶
func (m *RevokeJWTRequest) Unmarshal(dAtA []byte) error
func (*RevokeJWTRequest) XXX_DiscardUnknown ¶
func (m *RevokeJWTRequest) XXX_DiscardUnknown()
func (*RevokeJWTRequest) XXX_Marshal ¶
func (m *RevokeJWTRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RevokeJWTRequest) XXX_Merge ¶
func (m *RevokeJWTRequest) XXX_Merge(src proto.Message)
func (*RevokeJWTRequest) XXX_Size ¶
func (m *RevokeJWTRequest) XXX_Size() int
func (*RevokeJWTRequest) XXX_Unmarshal ¶
func (m *RevokeJWTRequest) XXX_Unmarshal(b []byte) error
type RevokeJWTResponse ¶
type RevokeJWTResponse struct { }
func (*RevokeJWTResponse) Descriptor ¶
func (*RevokeJWTResponse) Descriptor() ([]byte, []int)
func (*RevokeJWTResponse) Marshal ¶
func (m *RevokeJWTResponse) Marshal() (dAtA []byte, err error)
func (*RevokeJWTResponse) MarshalTo ¶
func (m *RevokeJWTResponse) MarshalTo(dAtA []byte) (int, error)
func (*RevokeJWTResponse) MarshalToSizedBuffer ¶
func (m *RevokeJWTResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RevokeJWTResponse) ProtoMessage ¶
func (*RevokeJWTResponse) ProtoMessage()
func (*RevokeJWTResponse) Reset ¶
func (m *RevokeJWTResponse) Reset()
func (*RevokeJWTResponse) Size ¶
func (m *RevokeJWTResponse) Size() (n int)
func (*RevokeJWTResponse) String ¶
func (m *RevokeJWTResponse) String() string
func (*RevokeJWTResponse) Unmarshal ¶
func (m *RevokeJWTResponse) Unmarshal(dAtA []byte) error
func (*RevokeJWTResponse) XXX_DiscardUnknown ¶
func (m *RevokeJWTResponse) XXX_DiscardUnknown()
func (*RevokeJWTResponse) XXX_Marshal ¶
func (m *RevokeJWTResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RevokeJWTResponse) XXX_Merge ¶
func (m *RevokeJWTResponse) XXX_Merge(src proto.Message)
func (*RevokeJWTResponse) XXX_Size ¶
func (m *RevokeJWTResponse) XXX_Size() int
func (*RevokeJWTResponse) XXX_Unmarshal ¶
func (m *RevokeJWTResponse) XXX_Unmarshal(b []byte) error
type UnimplementedJWTISServiceServer ¶
type UnimplementedJWTISServiceServer struct { }
UnimplementedJWTISServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedJWTISServiceServer) Auth ¶
func (*UnimplementedJWTISServiceServer) Auth(ctx context.Context, req *AuthRequest) (*AuthResponse, error)
func (*UnimplementedJWTISServiceServer) DelKeys ¶
func (*UnimplementedJWTISServiceServer) DelKeys(ctx context.Context, req *DelKeysRequest) (*DelKeysResponse, error)
func (*UnimplementedJWTISServiceServer) ListKeys ¶
func (*UnimplementedJWTISServiceServer) ListKeys(req *ListKeysRequest, srv JWTISService_ListKeysServer) error
func (*UnimplementedJWTISServiceServer) NewJWT ¶
func (*UnimplementedJWTISServiceServer) NewJWT(ctx context.Context, req *NewJWTRequest) (*NewJWTResponse, error)
func (*UnimplementedJWTISServiceServer) Ping ¶
func (*UnimplementedJWTISServiceServer) Ping(ctx context.Context, req *PingRequest) (*PingResponse, error)
func (*UnimplementedJWTISServiceServer) PublicKeys ¶
func (*UnimplementedJWTISServiceServer) PublicKeys(ctx context.Context, req *PublicKeysRequest) (*PublicKeysResponse, error)
func (*UnimplementedJWTISServiceServer) Ready ¶
func (*UnimplementedJWTISServiceServer) Ready(ctx context.Context, req *ReadyRequest) (*ReadyResponse, error)
func (*UnimplementedJWTISServiceServer) Register ¶
func (*UnimplementedJWTISServiceServer) Register(ctx context.Context, req *RegisterRequest) (*RegisterResponse, error)
func (*UnimplementedJWTISServiceServer) RenewJWT ¶
func (*UnimplementedJWTISServiceServer) RenewJWT(ctx context.Context, req *RenewJWTRequest) (*RenewJWTResponse, error)
func (*UnimplementedJWTISServiceServer) RevokeJWT ¶
func (*UnimplementedJWTISServiceServer) RevokeJWT(ctx context.Context, req *RevokeJWTRequest) (*RevokeJWTResponse, error)
func (*UnimplementedJWTISServiceServer) UpdateKeys ¶
func (*UnimplementedJWTISServiceServer) UpdateKeys(ctx context.Context, req *UpdateKeysRequest) (*UpdateKeysResponse, error)
type UpdateKeysRequest ¶
type UpdateKeysRequest struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid"` Expiry int64 `protobuf:"varint,2,opt,name=expiry,proto3" json:"expiry,omitempty"` SigAlg string `protobuf:"bytes,3,opt,name=sigAlg,proto3" json:"sig_alg,omitempty"` SigBits int32 `protobuf:"varint,4,opt,name=sigBits,proto3" json:"sig_bits,omitempty"` EncAlg string `protobuf:"bytes,5,opt,name=encAlg,proto3" json:"enc_alg,omitempty"` EncBits int32 `protobuf:"varint,6,opt,name=encBits,proto3" json:"enc_bits,omitempty"` AuthTTL int64 `protobuf:"varint,7,opt,name=authTTL,proto3" json:"auth_ttl,omitempty"` RefreshTTL int64 `protobuf:"varint,8,opt,name=refreshTTL,proto3" json:"refresh_ttl,omitempty"` // RefreshStrategy is used in RenewJWT to decide wheather to issue new refresh // token with access token or not this option applies to all renewJWT requests RefreshStrategy string `protobuf:"bytes,9,opt,name=refreshStrategy,proto3" json:"refresh_strategy,omitempty"` }
func (*UpdateKeysRequest) Descriptor ¶
func (*UpdateKeysRequest) Descriptor() ([]byte, []int)
func (*UpdateKeysRequest) GetAuthTTL ¶
func (m *UpdateKeysRequest) GetAuthTTL() int64
func (*UpdateKeysRequest) GetEncAlg ¶
func (m *UpdateKeysRequest) GetEncAlg() string
func (*UpdateKeysRequest) GetEncBits ¶
func (m *UpdateKeysRequest) GetEncBits() int32
func (*UpdateKeysRequest) GetExpiry ¶
func (m *UpdateKeysRequest) GetExpiry() int64
func (*UpdateKeysRequest) GetKID ¶
func (m *UpdateKeysRequest) GetKID() string
func (*UpdateKeysRequest) GetRefreshStrategy ¶
func (m *UpdateKeysRequest) GetRefreshStrategy() string
func (*UpdateKeysRequest) GetRefreshTTL ¶
func (m *UpdateKeysRequest) GetRefreshTTL() int64
func (*UpdateKeysRequest) GetSigAlg ¶
func (m *UpdateKeysRequest) GetSigAlg() string
func (*UpdateKeysRequest) GetSigBits ¶
func (m *UpdateKeysRequest) GetSigBits() int32
func (*UpdateKeysRequest) Marshal ¶
func (m *UpdateKeysRequest) Marshal() (dAtA []byte, err error)
func (*UpdateKeysRequest) MarshalTo ¶
func (m *UpdateKeysRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateKeysRequest) MarshalToSizedBuffer ¶
func (m *UpdateKeysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateKeysRequest) ProtoMessage ¶
func (*UpdateKeysRequest) ProtoMessage()
func (*UpdateKeysRequest) Reset ¶
func (m *UpdateKeysRequest) Reset()
func (*UpdateKeysRequest) Size ¶
func (m *UpdateKeysRequest) Size() (n int)
func (*UpdateKeysRequest) String ¶
func (m *UpdateKeysRequest) String() string
func (*UpdateKeysRequest) Unmarshal ¶
func (m *UpdateKeysRequest) Unmarshal(dAtA []byte) error
func (*UpdateKeysRequest) XXX_DiscardUnknown ¶
func (m *UpdateKeysRequest) XXX_DiscardUnknown()
func (*UpdateKeysRequest) XXX_Marshal ¶
func (m *UpdateKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateKeysRequest) XXX_Merge ¶
func (m *UpdateKeysRequest) XXX_Merge(src proto.Message)
func (*UpdateKeysRequest) XXX_Size ¶
func (m *UpdateKeysRequest) XXX_Size() int
func (*UpdateKeysRequest) XXX_Unmarshal ¶
func (m *UpdateKeysRequest) XXX_Unmarshal(b []byte) error
type UpdateKeysResponse ¶
type UpdateKeysResponse struct { KID string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid"` AuthJWT string `protobuf:"bytes,2,opt,name=authJWT,proto3" json:"auth_jwt"` PubSigKey []byte `protobuf:"bytes,3,opt,name=pubSigKey,proto3" json:"pub_sig_key"` PubEncKey []byte `protobuf:"bytes,4,opt,name=pubEncKey,proto3" json:"pub_enc_key"` Expiry int64 `protobuf:"varint,5,opt,name=expiry,proto3" json:"expiry"` Valid bool `protobuf:"varint,6,opt,name=valid,proto3" json:"valid"` RefreshStrategy string `protobuf:"bytes,7,opt,name=refreshStrategy,proto3" json:"refresh_strategy"` }
func (*UpdateKeysResponse) Descriptor ¶
func (*UpdateKeysResponse) Descriptor() ([]byte, []int)
func (*UpdateKeysResponse) GetAuthJWT ¶
func (m *UpdateKeysResponse) GetAuthJWT() string
func (*UpdateKeysResponse) GetExpiry ¶
func (m *UpdateKeysResponse) GetExpiry() int64
func (*UpdateKeysResponse) GetKID ¶
func (m *UpdateKeysResponse) GetKID() string
func (*UpdateKeysResponse) GetPubEncKey ¶
func (m *UpdateKeysResponse) GetPubEncKey() []byte
func (*UpdateKeysResponse) GetPubSigKey ¶
func (m *UpdateKeysResponse) GetPubSigKey() []byte
func (*UpdateKeysResponse) GetRefreshStrategy ¶
func (m *UpdateKeysResponse) GetRefreshStrategy() string
func (*UpdateKeysResponse) GetValid ¶
func (m *UpdateKeysResponse) GetValid() bool
func (*UpdateKeysResponse) Marshal ¶
func (m *UpdateKeysResponse) Marshal() (dAtA []byte, err error)
func (*UpdateKeysResponse) MarshalTo ¶
func (m *UpdateKeysResponse) MarshalTo(dAtA []byte) (int, error)
func (*UpdateKeysResponse) MarshalToSizedBuffer ¶
func (m *UpdateKeysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateKeysResponse) ProtoMessage ¶
func (*UpdateKeysResponse) ProtoMessage()
func (*UpdateKeysResponse) Reset ¶
func (m *UpdateKeysResponse) Reset()
func (*UpdateKeysResponse) Size ¶
func (m *UpdateKeysResponse) Size() (n int)
func (*UpdateKeysResponse) String ¶
func (m *UpdateKeysResponse) String() string
func (*UpdateKeysResponse) Unmarshal ¶
func (m *UpdateKeysResponse) Unmarshal(dAtA []byte) error
func (*UpdateKeysResponse) XXX_DiscardUnknown ¶
func (m *UpdateKeysResponse) XXX_DiscardUnknown()
func (*UpdateKeysResponse) XXX_Marshal ¶
func (m *UpdateKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateKeysResponse) XXX_Merge ¶
func (m *UpdateKeysResponse) XXX_Merge(src proto.Message)
func (*UpdateKeysResponse) XXX_Size ¶
func (m *UpdateKeysResponse) XXX_Size() int
func (*UpdateKeysResponse) XXX_Unmarshal ¶
func (m *UpdateKeysResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.