scheibo/steamsso 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

scheibo/steamsso

最新稳定版本:1.0.1

Composer 安装命令:

composer require scheibo/steamsso

包简介

A Steam SSO plugin for seamless integration with Steam accounts in Kirby, enabling users to log in with their Steam credentials. Simplifies authentication for gaming platforms and services.

README 文档

README

This plugin allows you to authenticate users via Steam OpenID.

Installation

Download

Download and copy this repository to /site/plugins/steamsso.

Composer

composer require scheibo/steamsso

Configuration

Steam API Key

You need to get a Steam API Key from Steam.

Kirby Configuration

Add the following configuration to your site/config/config.php:

return [
    'steam' => [
        'apiKey' => '',
        'loginUrl' => 'https://www.example.com',
        'emailDomain' => 'steamuser@example.com',
        'role' => 'steamuser',
    ],
];

Add Steam Login Button

Add the following code to your template:

<?php snippet('steamsso/loginbutton') ?>

Add Steam Logout Button

Add the following code to your template:

<?php snippet('steamsso/logoutbutton') ?>

Add Steam User Info

Add the following code to your template:

<?php snippet('steamsso/userinfo') ?>

Add stylesheet

Add the following code to your template:

<?= css('site/plugins/steamsso/steamsso.css') ?>

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固