承接 scheibo/steamsso 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱: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
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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