func (s *SelfClient) Get(ctx context.Context, token string) (*apitypes.Self, error) {
	req, err := s.client.NewTokenRequest(token, "GET", "/self", nil, nil)
	if err != nil {
		log.Printf("Error making Self request: %s", err)
		return nil, err
	}

	self := &apitypes.Self{}
	_, err = s.client.Do(ctx, req, self)
	if err != nil {
		return nil, err
	}

	return self, nil
}
// Get returns the current identities associated with this token
Get returns the current identities associated with this token
// Get returns the current identities associated with this token
func (s *SelfClient) Get(ctx context.Context, token string) (*apitypes.Self, error) {
	req, err := s.client.NewTokenRequest(token, "GET", "/self", nil, nil)
	if err != nil {
		log.Printf("Error making Self request: %s", err)
		return nil, err
	}
	self := &apitypes.Self{}
	_, err = s.client.Do(ctx, req, self)
	if err != nil {
		return nil, err
	}
	return self, nil
}
func ( s * SelfClient ) Get ( ctx context . Context , token string ) ( * apitypes . Self , error ) { req , err := s . client . NewTokenRequest ( token , " " , " " , nil , nil ) if err != nil { log . Printf ( " " , err ) return nil , err } self := & apitypes . Self { } _ , err = s . client . Do ( ctx , req , self ) if err != nil { return nil , err } return self , nil }
Get returns the current identities associated with this token
Get returns the current identities associated with this token