func (h *Handler) GetToken(password string) (*string, error) {
	logger := h.logger.Add("method", "GetToken")

	if err := h.checkPassword(logger, password); err != nil {
		return nil, err
	}

	logger.Debug("making access token")

	v, err := h.token.Make()
	if err != nil {
		logger.Error(err.Error())
		return nil, ErrInternal
	}

	return &v, nil
}
func (h *Handler) GetToken(password string) (*string, error) {
	logger := h.logger.Add("method", "GetToken")

	if err := h.checkPassword(logger, password); err != nil {
		return nil, err
	}

	logger.Debug("making access token")

	v, err := h.token.Make()
	if err != nil {
		logger.Error(err.Error())
		return nil, ErrInternal
	}

	return &v, nil
}
// GetToken returns token if password is correct.